Baeckerei Update (Handmenu-Text, Pos+Scale Videos, LookAt script activated + invert option added, Lightmap)

This commit is contained in:
Dominik Gut 2025-07-30 21:06:01 +02:00
parent 440e95b048
commit 0a53f52643
27 changed files with 459570 additions and 1535 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 KiB

After

Width:  |  Height:  |  Size: 570 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 KiB

After

Width:  |  Height:  |  Size: 400 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 KiB

After

Width:  |  Height:  |  Size: 370 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 309 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 KiB

After

Width:  |  Height:  |  Size: 464 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -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);