Merge leveldesign
@ -11,7 +11,7 @@ AnimatorStateMachine:
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: 7443357409726444941}
|
||||
m_Position: {x: 513.932, y: 26.747574, z: 0}
|
||||
m_Position: {x: 390, y: -60, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
|
@ -594,25 +594,7 @@ MonoBehaviour:
|
||||
m_RotationOrder: 4
|
||||
m_MixOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
@ -639,49 +621,13 @@ MonoBehaviour:
|
||||
m_BlendOutDuration: 1.2166666666666668
|
||||
m_MixInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_MixOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
@ -708,25 +654,7 @@ MonoBehaviour:
|
||||
m_BlendOutDuration: -1
|
||||
m_MixInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
|
@ -69,7 +69,7 @@ TextureImporter:
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 1024
|
||||
maxTextureSize: 4096
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
|
@ -69,7 +69,7 @@ TextureImporter:
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 1024
|
||||
maxTextureSize: 4096
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
|
@ -69,7 +69,7 @@ TextureImporter:
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 1024
|
||||
maxTextureSize: 4096
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
|
@ -69,7 +69,7 @@ TextureImporter:
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 1024
|
||||
maxTextureSize: 4096
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
|
@ -69,7 +69,7 @@ TextureImporter:
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 1024
|
||||
maxTextureSize: 4096
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
|
@ -550,9 +550,9 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "Strecken Sie mit der Hand, in der Sie das virtuelle Handy halten, den
|
||||
Zeigefinger und den Daumen aus. Dann erscheint unter dem Handy ein \u201CMen\xFC\u201D-Button.
|
||||
Damit gelangen Sie ins Men\xFC und k\xF6nnen dort ein Level ausw\xE4hlen.\r"
|
||||
m_text: "Auf deinem virtuellen Viagg-io-Handy kannst Du auf den Men\xFC-Button
|
||||
(weisser Button mit drei schwarzen Linien) dr\xFCcken und von dort gelangst Du
|
||||
zum Button \"Level w\xE4hlen\".\r"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
m_sharedMaterial: {fileID: -4487658187511886541, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
@ -2297,7 +2297,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &2392976769948144681
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2384,9 +2384,12 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "So lange den Zeigefinger und Daumen der rechten Hand zusammenhalten, sodass
|
||||
das Meta-Symbol (Unendlichkeitssymbol) erscheint, und der Kreis darum gef\xFCllt
|
||||
ist.\r"
|
||||
m_text: "F\xFChre die Reset-Geste durch, indem Du zuerst die Hand mit ausgestreckten
|
||||
Fingern und der Handinnenfl\xE4che nach oben vor dich hinh\xE4ltst und dann langsam
|
||||
die Faust ballst. Dann sollte ein Symbol mit Kreis oben an deiner Faust erscheinen.
|
||||
Drehe dann die Faust, so dass der Handr\xFCcken nach oben zeigt und strecke die
|
||||
Finger wieder. Sobald ein Ton erklingt, kannst Du die Hand wieder wegnehmen.
|
||||
Deine Position wird korrigiert."
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
m_sharedMaterial: {fileID: -4487658187511886541, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
@ -2508,7 +2511,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &8174554898201046203
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2799,6 +2802,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
jumpPointGrottoEssen: GrottoEssen
|
||||
jumpPointGrottoKueche: GrottoKueche
|
||||
fadeDuration: 2
|
||||
_fadeScreenObj: {fileID: 0}
|
||||
levels:
|
||||
- levelButton: {fileID: 3574905379413314231}
|
||||
sceneName: 0.5-Tutorial
|
||||
@ -2900,7 +2905,10 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "Taste \"<-\" auf dem Handy.\r"
|
||||
m_text: "Auf deinem virtuellen Viagg-io-Handy kannst Du auf den Men\xFC-Button
|
||||
(weisser Button mit drei schwarzen Linien) dr\xFCcken und von dort gelangst Du
|
||||
zum Button \"Level w\xE4hlen\". Dort dr\xFCckst Du auf das Level, das Du gerade
|
||||
spielst. So startest Du es neu."
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
m_sharedMaterial: {fileID: -4487658187511886541, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
@ -4762,7 +4770,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "Wie kann ich eine Sequenz neu starten?\r"
|
||||
m_text: Wie kann ich ein Level neu starten?
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 0d97ed6259f90444b8da67a4e5872245, type: 2}
|
||||
m_sharedMaterial: {fileID: -2574710329927910322, guid: 0d97ed6259f90444b8da67a4e5872245, type: 2}
|
||||
@ -5814,7 +5822,9 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "Zweimal mit dem Finger auf das kleine Loch rechts an der Quest tippen.\r"
|
||||
m_text: "Auf deinem virtuellen Viagg-io-Handy kannst Du auf den Men\xFC-Button
|
||||
(weisser Button mit drei schwarzen Linien) dr\xFCcken und dort findest Du den
|
||||
Button \"Hauptmen\xFC\"."
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
m_sharedMaterial: {fileID: -4487658187511886541, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
@ -6370,7 +6380,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "Wie komme ich zur\xFCck in das Quest-Men\xFC?\r"
|
||||
m_text: "Wie komme ich zur\xFCck in das Hauptmen\xFC?\r"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 0d97ed6259f90444b8da67a4e5872245, type: 2}
|
||||
m_sharedMaterial: {fileID: -2574710329927910322, guid: 0d97ed6259f90444b8da67a4e5872245, type: 2}
|
||||
@ -9700,8 +9710,8 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "H\xE4nde offen mit der Handinnenseite ausgestreckt vor das Gesicht (Headset)
|
||||
halten.\r"
|
||||
m_text: "Halte deine H\xE4nde offen mit der Handinnenseite ausgestreckt vor dein
|
||||
Gesicht (Headset)."
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
m_sharedMaterial: {fileID: -4487658187511886541, guid: 7ae87b11983549545be4afc3e9b69820, type: 2}
|
||||
@ -10031,7 +10041,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &216112930981640311
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
Before Width: | Height: | Size: 570 KiB After Width: | Height: | Size: 570 KiB |
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 186 KiB |
Before Width: | Height: | Size: 400 KiB After Width: | Height: | Size: 400 KiB |
Before Width: | Height: | Size: 370 KiB After Width: | Height: | Size: 370 KiB |
Before Width: | Height: | Size: 309 KiB After Width: | Height: | Size: 309 KiB |
Before Width: | Height: | Size: 208 KiB After Width: | Height: | Size: 208 KiB |
Before Width: | Height: | Size: 464 KiB After Width: | Height: | Size: 464 KiB |
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
@ -10,6 +10,9 @@ public class AxisConstrainedLookAt : MonoBehaviour
|
||||
[Header("Which local axis should point at the target?")]
|
||||
public LocalAxis lookAxis = LocalAxis.Z;
|
||||
|
||||
[Tooltip("Invert the direction of the chosen local axis")]
|
||||
public bool invertDirection = false;
|
||||
|
||||
[Header("Allow rotation only around this world axis")]
|
||||
public RotationAxis allowedRotationAxis = RotationAxis.Y;
|
||||
|
||||
@ -25,6 +28,10 @@ public class AxisConstrainedLookAt : MonoBehaviour
|
||||
Vector3 projectedDirection = ProjectDirection(toTarget.normalized, allowedRotationAxis);
|
||||
if (projectedDirection.sqrMagnitude < 0.0001f) return;
|
||||
|
||||
// Invert the direction if the toggle is on
|
||||
if (invertDirection)
|
||||
projectedDirection = -projectedDirection;
|
||||
|
||||
// Get the desired rotation to look at the projected target direction
|
||||
Quaternion targetRotation = Quaternion.LookRotation(projectedDirection, Vector3.up);
|
||||
|
||||
|