This commit is contained in:
Jan Racek
2026-03-29 16:13:59 +02:00
parent bc2067b0c4
commit 2cd9af28f1
11 changed files with 1469 additions and 1270 deletions

1
.gitignore vendored
View File

@@ -10,3 +10,4 @@
/obj /obj
/Build /Build
/Temp /Temp
.vs/

View File

@@ -0,0 +1,29 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 99c0b28de0bbbf7449afc28106b605dc, type: 3}
m_Name: Cutscene_Spinner
m_EditorClassIdentifier: net.psxsplash.splashedit.Runtime::SplashEdit.RuntimeCode.PSXCutsceneClip
CutsceneName: spin_loop
DurationFrames: 90
Tracks:
- TrackType: 3
ObjectName: Spinner
UICanvasName:
UIElementName:
Keyframes:
- Frame: 0
Value: {x: -0, y: 0, z: 0}
Interp: 0
- Frame: 90
Value: {x: 1.5633063e-10, y: 359.86737, z: 359.54904}
Interp: 0
AudioEvents: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: baedd24f86c4e05499ecef6f75687a66
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -226,7 +226,7 @@ Transform:
m_GameObject: {fileID: 172047737} m_GameObject: {fileID: 172047737}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 5, y: 0.5, z: -5} m_LocalPosition: {x: 17.06, y: 0.5, z: -5}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -392,12 +392,63 @@ Transform:
m_GameObject: {fileID: 284994636} m_GameObject: {fileID: 284994636}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -8} m_LocalPosition: {x: 10.47, y: 1, z: -11.73}
m_LocalScale: {x: 0.5, y: 1, z: 0.5} m_LocalScale: {x: 0.5, y: 1, z: 0.5}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &299763936
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 299763937}
- component: {fileID: 299763938}
m_Layer: 5
m_Name: BlackBox
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &299763937
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 299763936}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 900000202}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -80.00001}
m_SizeDelta: {x: 280, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &299763938
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 299763936}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6d0070761745bb147bb74f85ca7960cd, type: 3}
m_Name:
m_EditorClassIdentifier: net.psxsplash.splashedit.Runtime::SplashEdit.RuntimeCode.PSXUIBox
elementName: box
boxColor: {r: 0, g: 0, b: 0, a: 1}
startVisible: 1
--- !u!1 &313120498 --- !u!1 &313120498
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -752,7 +803,7 @@ MonoBehaviour:
isActive: 1 isActive: 1
bitDepth: 8 bitDepth: 8
luaFile: {fileID: 271950057456261835, guid: d7401857254e372469edfcd09b92d7a1, type: 3} luaFile: {fileID: 271950057456261835, guid: d7401857254e372469edfcd09b92d7a1, type: 3}
collisionType: 0 collisionType: 1
--- !u!65 &672874948 --- !u!65 &672874948
BoxCollider: BoxCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -838,13 +889,13 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 672874946} m_GameObject: {fileID: 672874946}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0.000004554928, y: -0.0011574143, z: -0.0039354004, w: 0.99999166}
m_LocalPosition: {x: -8, y: 1, z: 2} m_LocalPosition: {x: -27.73, y: 1, z: -4.82}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 359.867, z: -360.451}
--- !u!1 &696402649 --- !u!1 &696402649
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -967,7 +1018,7 @@ Transform:
m_GameObject: {fileID: 696402649} m_GameObject: {fileID: 696402649}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 8, y: 2.736, z: 8} m_LocalPosition: {x: -20.56, y: 2.736, z: 8}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -1162,12 +1213,63 @@ Transform:
m_GameObject: {fileID: 794639167} m_GameObject: {fileID: 794639167}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 8, y: 2, z: 5} m_LocalPosition: {x: 27.46, y: 2, z: 5}
m_LocalScale: {x: 0.5, y: 4, z: 3} m_LocalScale: {x: 0.5, y: 4, z: 3}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &795078094
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 795078095}
- component: {fileID: 795078096}
m_Layer: 5
m_Name: WhiteBox
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &795078095
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 795078094}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 1.59}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 900000202}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -80.184}
m_SizeDelta: {x: 285.154, y: 55.5221}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &795078096
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 795078094}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6d0070761745bb147bb74f85ca7960cd, type: 3}
m_Name:
m_EditorClassIdentifier: net.psxsplash.splashedit.Runtime::SplashEdit.RuntimeCode.PSXUIBox
elementName: box
boxColor: {r: 1, g: 1, b: 1, a: 1}
startVisible: 1
--- !u!1 &808226800 --- !u!1 &808226800
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -1290,7 +1392,7 @@ Transform:
m_GameObject: {fileID: 808226800} m_GameObject: {fileID: 808226800}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 2.796, z: 8} m_LocalPosition: {x: -25.41, y: 2.796, z: 8}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -1371,7 +1473,7 @@ Transform:
m_GameObject: {fileID: 900000001} m_GameObject: {fileID: 900000001}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -8, y: 1.45, z: 5} m_LocalPosition: {x: -8, y: 1.45, z: 10.64}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -1417,7 +1519,7 @@ Transform:
m_GameObject: {fileID: 900000011} m_GameObject: {fileID: 900000011}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 8, y: 0, z: 5} m_LocalPosition: {x: 8, y: 1.33, z: 11.27}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -1509,7 +1611,7 @@ Transform:
m_GameObject: {fileID: 900000031} m_GameObject: {fileID: 900000031}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -8, y: 1.55, z: -5} m_LocalPosition: {x: 15.8, y: 1.55, z: 10.17}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -1566,7 +1668,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 160, y: 120} m_AnchoredPosition: {x: -356.4, y: 533.3}
m_SizeDelta: {x: 320, y: 240} m_SizeDelta: {x: 320, y: 240}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &900000103 --- !u!223 &900000103
@@ -1694,7 +1796,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0} m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 20} m_AnchoredPosition: {x: 0, y: 206.3}
m_SizeDelta: {x: 300, y: 16} m_SizeDelta: {x: 300, y: 16}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &900000123 --- !u!114 &900000123
@@ -1798,11 +1900,13 @@ RectTransform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 900000212} - {fileID: 900000212}
- {fileID: 299763937}
- {fileID: 795078095}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 160, y: 120} m_AnchoredPosition: {x: -11, y: 534}
m_SizeDelta: {x: 320, y: 240} m_SizeDelta: {x: 320, y: 240}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &900000203 --- !u!223 &900000203
@@ -2041,7 +2145,7 @@ Transform:
m_GameObject: {fileID: 903185315} m_GameObject: {fileID: 903185315}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -5, y: 1, z: -5} m_LocalPosition: {x: -17.27, y: 0.84, z: -10.87}
m_LocalScale: {x: 2, y: 2, z: 2} m_LocalScale: {x: 2, y: 2, z: 2}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -2062,7 +2166,7 @@ MonoBehaviour:
isActive: 1 isActive: 1
bitDepth: 8 bitDepth: 8
luaFile: {fileID: 0} luaFile: {fileID: 0}
collisionType: 0 collisionType: 2
--- !u!1 &1190212571 --- !u!1 &1190212571
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -2185,7 +2289,7 @@ Transform:
m_GameObject: {fileID: 1190212571} m_GameObject: {fileID: 1190212571}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -8, y: 2.65, z: 8} m_LocalPosition: {x: -30.12, y: 2.65, z: 8}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -2228,6 +2332,7 @@ MonoBehaviour:
SceneType: 1 SceneType: 1
Cutscenes: Cutscenes:
- {fileID: 11400000, guid: bd1fe43914c3ff86187fc10ed74878e3, type: 2} - {fileID: 11400000, guid: bd1fe43914c3ff86187fc10ed74878e3, type: 2}
- {fileID: 11400000, guid: baedd24f86c4e05499ecef6f75687a66, type: 2}
LoadingScreenPrefab: {fileID: 7823618876958668176, guid: c528a266b6b4ef649a6dac4e7d5a71aa, type: 3} LoadingScreenPrefab: {fileID: 7823618876958668176, guid: c528a266b6b4ef649a6dac4e7d5a71aa, type: 3}
PreviewBVH: 0 PreviewBVH: 0
PreviewRoomsPortals: 0 PreviewRoomsPortals: 0
@@ -2257,7 +2362,7 @@ PrefabInstance:
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: baf14b239ee4d31539e1526cc6da5497, type: 3} - target: {fileID: -8679921383154817045, guid: baf14b239ee4d31539e1526cc6da5497, type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 1306.4 value: 3398.2078
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: baf14b239ee4d31539e1526cc6da5497, type: 3} - target: {fileID: -8679921383154817045, guid: baf14b239ee4d31539e1526cc6da5497, type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
@@ -2339,7 +2444,7 @@ MonoBehaviour:
isActive: 1 isActive: 1
bitDepth: 8 bitDepth: 8
luaFile: {fileID: 0} luaFile: {fileID: 0}
collisionType: 0 collisionType: 1
--- !u!1 &1493212905 --- !u!1 &1493212905
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -2395,7 +2500,7 @@ MonoBehaviour:
isActive: 1 isActive: 1
bitDepth: 8 bitDepth: 8
luaFile: {fileID: 271950057456261835, guid: e6fb27fb693abcd4092b5bbc5e78afcb, type: 3} luaFile: {fileID: 271950057456261835, guid: e6fb27fb693abcd4092b5bbc5e78afcb, type: 3}
collisionType: 0 collisionType: 1
--- !u!65 &1493212908 --- !u!65 &1493212908
BoxCollider: BoxCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -2482,7 +2587,7 @@ Transform:
m_GameObject: {fileID: 1493212905} m_GameObject: {fileID: 1493212905}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -8, y: 0.5, z: -5} m_LocalPosition: {x: -17.57, y: 0.5, z: -5}
m_LocalScale: {x: 0.5, y: 1, z: 0.5} m_LocalScale: {x: 0.5, y: 1, z: 0.5}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -2521,7 +2626,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9b542f4ca31fa6548b8914e96dd0fae2, type: 3} m_Script: {fileID: 11500000, guid: 9b542f4ca31fa6548b8914e96dd0fae2, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: net.psxsplash.splashedit.Runtime::SplashEdit.RuntimeCode.PSXInteractable m_EditorClassIdentifier: net.psxsplash.splashedit.Runtime::SplashEdit.RuntimeCode.PSXInteractable
interactionRadius: 2 interactionRadius: 3.1
interactButton: 15 interactButton: 15
isRepeatable: 1 isRepeatable: 1
cooldownFrames: 60 cooldownFrames: 60
@@ -2543,7 +2648,7 @@ MonoBehaviour:
isActive: 1 isActive: 1
bitDepth: 8 bitDepth: 8
luaFile: {fileID: 271950057456261835, guid: de833f331b443b149b403ce5e60009dc, type: 3} luaFile: {fileID: 271950057456261835, guid: de833f331b443b149b403ce5e60009dc, type: 3}
collisionType: 0 collisionType: 2
--- !u!136 &1802196263 --- !u!136 &1802196263
CapsuleCollider: CapsuleCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -2632,7 +2737,7 @@ Transform:
m_GameObject: {fileID: 1802196260} m_GameObject: {fileID: 1802196260}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.5, z: 2} m_LocalPosition: {x: 0, y: 1.5, z: -2.62}
m_LocalScale: {x: 1, y: 1.5, z: 1} m_LocalScale: {x: 1, y: 1.5, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -2760,7 +2865,7 @@ Transform:
m_GameObject: {fileID: 2022524678} m_GameObject: {fileID: 2022524678}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 8, y: 2, z: 5} m_LocalPosition: {x: 27.46, y: 2, z: 5}
m_LocalScale: {x: 0.32, y: 3.8, z: 2.32} m_LocalScale: {x: 0.32, y: 3.8, z: 2.32}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []

View File

@@ -2,7 +2,7 @@
-- npc.lua - NPC with multi-line dialogue -- npc.lua - NPC with multi-line dialogue
-- ============================================================================ -- ============================================================================
-- Tests: onInteract, onButtonPress, Controls, UI text, -- Tests: onInteract, onButtonPress, Controls, UI text,
-- scene-level dialogue system, Input constants -- scene-level dialogue system, Input constants, Interact API
local talked = false local talked = false
@@ -13,6 +13,9 @@ end
function onInteract(self) function onInteract(self)
if isInDialogue() then return end if isInDialogue() then return end
-- Disable interaction while dialogue is open so the prompt hides
Interact.SetEnabled(self, false)
if not talked then if not talked then
talked = true talked = true
startDialogue({ startDialogue({
@@ -36,5 +39,9 @@ function onButtonPress(self, button)
if not isInDialogue() then return end if not isInDialogue() then return end
if button == Input.CROSS then if button == Input.CROSS then
advanceDialogue() advanceDialogue()
-- Re-enable interaction when dialogue ends
if not isInDialogue() then
Interact.SetEnabled(self, true)
end
end end
end end

Binary file not shown.

View File

@@ -40,7 +40,7 @@ ModelImporter:
extraExposedTransformPaths: [] extraExposedTransformPaths: []
extraUserProperties: [] extraUserProperties: []
clipAnimations: [] clipAnimations: []
isReadable: 0 isReadable: 1
meshes: meshes:
lODScreenPercentages: [] lODScreenPercentages: []
globalScale: 1 globalScale: 1

View File

@@ -12,7 +12,7 @@
"com.unity.toolchain.linux-x86_64": "2.0.11", "com.unity.toolchain.linux-x86_64": "2.0.11",
"com.unity.ugui": "2.0.0", "com.unity.ugui": "2.0.0",
"com.unity.visualscripting": "1.9.7", "com.unity.visualscripting": "1.9.7",
"net.psxsplash.splashedit": "file:/home/jracek/code/secretsplash", "net.psxsplash.splashedit": "file:E:/Code/psxsplashfix/splashedit",
"com.unity.modules.accessibility": "1.0.0", "com.unity.modules.accessibility": "1.0.0",
"com.unity.modules.ai": "1.0.0", "com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0", "com.unity.modules.androidjni": "1.0.0",

View File

@@ -231,7 +231,7 @@
"url": "https://packages.unity.com" "url": "https://packages.unity.com"
}, },
"net.psxsplash.splashedit": { "net.psxsplash.splashedit": {
"version": "file:/home/jracek/code/secretsplash", "version": "file:E:/Code/psxsplashfix/splashedit",
"depth": 0, "depth": 0,
"source": "local", "source": "local",
"dependencies": {} "dependencies": {}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff