This commit is contained in:
r.nikolin 2023-10-19 13:08:23 +03:00
parent 7ffe22f1d1
commit fa553e9399
8 changed files with 491 additions and 506 deletions

View File

@ -96,7 +96,7 @@ GameObject:
- component: {fileID: 9027889519720641407}
- component: {fileID: 9027889519720641405}
- component: {fileID: 9027889519720641406}
- component: {fileID: 9208195110036731905}
- component: {fileID: 6695757003080216624}
m_Layer: 0
m_Name: ChechPoint
m_TagString: Untagged
@ -256,9 +256,33 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 9208195110036731905}
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: FinishController, Assembly-CSharp
m_MethodName: StartCustcene
m_MethodName: OnFinish
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: CutsceneLookAt, Assembly-CSharp
m_MethodName: StartCutscene
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 6695757003080216624}
m_TargetAssemblyTypeName: LeanTimer, Assembly-CSharp
m_MethodName: ManualStart
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
@ -286,7 +310,7 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls: []
_timeBonus: 30
--- !u!114 &9208195110036731905
--- !u!114 &6695757003080216624
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -295,10 +319,31 @@ MonoBehaviour:
m_GameObject: {fileID: 9027889519720641281}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e0b87dc15c39dc746910256002341c33, type: 3}
m_Script: {fileID: 11500000, guid: 48c9c08f9b06eea44b9b4112138f91b2, type: 3}
m_Name:
m_EditorClassIdentifier:
_wheel: {fileID: 0}
StartOnAwake: 0
StartValue: 1
EndValue: 0
Time: 3
OnUpdate:
m_PersistentCalls:
m_Calls: []
OnTotalComplete:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: EndGameModule, Assembly-CSharp
m_MethodName: ShowEndMenu
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
--- !u!1 &9027889519819089751
GameObject:
m_ObjectHideFlags: 0

View File

@ -15798,12 +15798,11 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 936928571943603786}
m_Modifications:
- target: {fileID: 9027889519290796213, guid: fd9a908ef09d42f4395b489e3926f8a4,
- target: {fileID: 6695757003080216624, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: m_fontAsset
propertyPath: OnTotalComplete.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee,
type: 2}
objectReference: {fileID: 1878271010340801624}
- target: {fileID: 9027889519720641280, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: m_RootOrder
@ -15862,160 +15861,25 @@ PrefabInstance:
- target: {fileID: 9027889519720641281, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: m_Name
value: ChechPoint (Edited)
value: SplineTrigger (Finish)
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.size
value: 4
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[2].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[3].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[4].m_Mode
value: 1
objectReference: {fileID: 0}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[1].m_Target
value:
objectReference: {fileID: 3734475315780293040}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[2].m_Target
value:
objectReference: {fileID: 936928571299800189}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[3].m_Target
value:
objectReference: {fileID: 6695757003080216624}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[4].m_Target
value:
objectReference: {fileID: 7192482667834520397}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[2].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[3].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[4].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[2].m_MethodName
value: StartCutscene
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[3].m_MethodName
value: ManualStart
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[4].m_MethodName
value: ForceRelease
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[2].m_TargetAssemblyTypeName
value: CutsceneLookAt, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[3].m_TargetAssemblyTypeName
value: LeanTimer, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[4].m_TargetAssemblyTypeName
value: BNG.Grabbable, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[2].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641405, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: OnCheckpointPass.m_PersistentCalls.m_Calls.Array.data[4].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 9027889519720641407, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: _spline
value:
objectReference: {fileID: 936928571614691587}
- target: {fileID: 9027889519720641407, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9208195110036731905, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
propertyPath: _wheel
value:
objectReference: {fileID: 7192482667834520397}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fd9a908ef09d42f4395b489e3926f8a4, type: 3}
--- !u!1 &8091035853936515598 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9027889519720641281, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
m_PrefabInstance: {fileID: 936928570033203471}
m_PrefabAsset: {fileID: 0}
--- !u!114 &6695757003080216624
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8091035853936515598}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 48c9c08f9b06eea44b9b4112138f91b2, type: 3}
m_Name:
m_EditorClassIdentifier:
StartOnAwake: 0
StartValue: 1
EndValue: 0
Time: 3
OnUpdate:
m_PersistentCalls:
m_Calls: []
OnTotalComplete:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1878271010340801624}
m_TargetAssemblyTypeName: EndGameModule, Assembly-CSharp
m_MethodName: ShowEndMenu
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
--- !u!4 &8091035853936515599 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 9027889519720641280, guid: fd9a908ef09d42f4395b489e3926f8a4,
@ -16028,24 +15892,12 @@ MonoBehaviour:
type: 3}
m_PrefabInstance: {fileID: 936928570033203471}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8091035853936515598}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0def5156137c6d14082064fa7b5d5247, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &8271625118250438926 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 9208195110036731905, guid: fd9a908ef09d42f4395b489e3926f8a4,
type: 3}
m_PrefabInstance: {fileID: 936928570033203471}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8091035853936515598}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e0b87dc15c39dc746910256002341c33, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &936928570047711303
PrefabInstance:
m_ObjectHideFlags: 0
@ -23424,7 +23276,7 @@ PrefabInstance:
- target: {fileID: 728723583298815499, guid: eb3e54b07683c7048b5211e1c33095e9,
type: 3}
propertyPath: m_Name
value: SplineTrigger (Start) (1)
value: SplineTrigger (Start)
objectReference: {fileID: 0}
- target: {fileID: 888712366298086623, guid: eb3e54b07683c7048b5211e1c33095e9,
type: 3}
@ -26704,6 +26556,11 @@ PrefabInstance:
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6705174318071897415, guid: 9069c86c178f3fa4eaf02c85a5a52483,
type: 3}
propertyPath: m_Value
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7577225838663604392, guid: 9069c86c178f3fa4eaf02c85a5a52483,
type: 3}
propertyPath: m_SizeDelta.y
@ -28796,19 +28653,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: b3a0af54ed388d24190a7fadd39fa5b7, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &7192482667834520387 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4574774226773336103, guid: 4261da25920e00f41b87a4410b9d42eb,
type: 3}
m_PrefabInstance: {fileID: 6677721189999301476}
m_PrefabAsset: {fileID: 0}
--- !u!114 &7192482667834520397 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 4574774226773336105, guid: 4261da25920e00f41b87a4410b9d42eb,
type: 3}
m_PrefabInstance: {fileID: 6677721189999301476}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7192482667834520387}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5cdea428d48e2bb488d33d5f75c39bb9, type: 3}
@ -29354,56 +29205,16 @@ PrefabInstance:
propertyPath: m_Name
value: Scripts
objectReference: {fileID: 0}
- target: {fileID: 6129843263160577468, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: _wheel
value:
objectReference: {fileID: 7192482667834520397}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: TextShow
value:
objectReference: {fileID: 7814704677493615759}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameInit.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameEnded.m_PersistentCalls.m_Calls.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameInit.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameEnded.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameInit.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameEnded.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 8271625118250438926}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[1].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameInit.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[0].m_Target
@ -29414,158 +29225,17 @@ PrefabInstance:
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[1].m_Target
value:
objectReference: {fileID: 2208235562426114317}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameEnded.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameEnded.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: StartCustcene
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[1].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameEnded.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: FinishController, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
value: UnityEngine.GameObject, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_BoolArgument
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameEnded.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7764968720947879535, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnGameStarted.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.size
value: 3
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[1].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[2].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 7192482667834520397}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[1].m_Target
value:
objectReference: {fileID: 7192482667834520387}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[2].m_Target
value:
objectReference: {fileID: 1878271010340801624}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[1].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[2].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: ForceRelease
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[2].m_MethodName
value: ShowEndMenu
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: BNG.Grabbable, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
value: UnityEngine.GameObject, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[2].m_TargetAssemblyTypeName
value: EndGameModule, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7764968721875111494, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: OnTimeEnded.m_PersistentCalls.m_Calls.Array.data[2].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7764968721981305002, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: _spawnPoint
value:
objectReference: {fileID: 936928570403474954}
- target: {fileID: 7764968721981305003, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 7764968721284117325, guid: f4b26a7999d583848bd57077f2a92c42, type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f4b26a7999d583848bd57077f2a92c42, type: 3}
--- !u!114 &936928571263509091 stripped
MonoBehaviour:
@ -29591,6 +29261,18 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 840443c6315ab8140bc61c7f6a6264ef, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &3734475315780293040 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6129843263160577468, guid: f4b26a7999d583848bd57077f2a92c42,
type: 3}
m_PrefabInstance: {fileID: 7404505455123069964}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e0b87dc15c39dc746910256002341c33, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &8565292297807810508 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 1160822104568116160, guid: f4b26a7999d583848bd57077f2a92c42,

View File

@ -1,50 +1,5 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &630851745
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 630851747}
- component: {fileID: 630851746}
m_Layer: 0
m_Name: PlayerSetup
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &630851747
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 630851745}
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: 1160822104568116160}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &630851746
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 630851745}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a08517b7b0bf6dd43957506b07b59ace, type: 3}
m_Name:
m_EditorClassIdentifier:
DefaultName: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367"
--- !u!1 &2180949893699722961
GameObject:
m_ObjectHideFlags: 0
@ -75,7 +30,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1160822104568116160}
m_RootOrder: 8
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &4710271286472172395
MonoBehaviour:
@ -91,6 +46,51 @@ MonoBehaviour:
m_EditorClassIdentifier:
inputAction: {fileID: -528260938699895752, guid: e39f4b35a6db18348b41eb0262520e69,
type: 3}
--- !u!1 &2432046440144815282
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2027141745847319292}
- component: {fileID: 6129843263160577468}
m_Layer: 0
m_Name: FinishController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2027141745847319292
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2432046440144815282}
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: 1160822104568116160}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &6129843263160577468
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2432046440144815282}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e0b87dc15c39dc746910256002341c33, type: 3}
m_Name:
m_EditorClassIdentifier:
_wheel: {fileID: 0}
--- !u!1 &4633053335750713967
GameObject:
m_ObjectHideFlags: 0
@ -124,10 +124,9 @@ Transform:
- {fileID: 7764968721875111495}
- {fileID: 7764968720607866188}
- {fileID: 7764968720163939308}
- {fileID: 7764968722014532662}
- {fileID: 7764968721981305003}
- {fileID: 630851747}
- {fileID: 2692296770531394948}
- {fileID: 2027141745847319292}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -268,7 +267,19 @@ MonoBehaviour:
m_EditorClassIdentifier:
OnGameInit:
m_PersistentCalls:
m_Calls: []
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName:
m_MethodName:
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
OnGameStarted:
m_PersistentCalls:
m_Calls:
@ -284,6 +295,18 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
OnGameEnded:
m_PersistentCalls:
m_Calls: []
@ -383,7 +406,31 @@ MonoBehaviour:
m_Calls: []
OnTimeEnded:
m_PersistentCalls:
m_Calls: []
m_Calls:
- m_Target: {fileID: 6129843263160577468}
m_TargetAssemblyTypeName: FinishController, Assembly-CSharp
m_MethodName: OnTimeEnd
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: EndGameModule, Assembly-CSharp
m_MethodName: ShowEndMenu
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
Seconds: 20
--- !u!1 &7764968721981305005
GameObject:
@ -415,7 +462,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1160822104568116160}
m_RootOrder: 6
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7764968721981305002
MonoBehaviour:
@ -436,47 +483,3 @@ MonoBehaviour:
Time: 15
DisplayMessagePrefab: {fileID: 433003144808435162, guid: 9ccc701d3c50df748bb7fe2918f18adb,
type: 3}
--- !u!1 &7764968722014532648
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7764968722014532662}
- component: {fileID: 7764968722014532649}
m_Layer: 0
m_Name: SaveLoadController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &7764968722014532662
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7764968722014532648}
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: 1160822104568116160}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7764968722014532649
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7764968722014532648}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 93376b36feb94b74ca3e784ec321fc7e, type: 3}
m_Name:
m_EditorClassIdentifier:

View File

@ -18,9 +18,4 @@ public class CutsceneLookAt : MonoBehaviour
_animator.Play(_animation);
_carier.parent = transform;
}
public void EndCutscene()
{
GameManager.Instance.OnFinish();
}
}

View File

@ -18,12 +18,22 @@ public class FinishController : MonoBehaviour
_monumentController = FindObjectOfType<MonumentController>();
}
public void StartCustcene()
public void OnFinish()
{
DisablePlayerMovement();
_monumentController.UnlockMonument();
}
private void DisablePlayerMovement()
{
_wheel.ForceRelease();
_wheel.gameObject.SetActive(false);
_vTimerCounter.StopTimer();
_moveSides.ToggleInput(false);
_monumentController.UnlockMonument();
}
public void OnTimeEnd()
{
DisablePlayerMovement();
}
}

View File

@ -17,11 +17,6 @@ public class GameManager : MonoBehaviour
{
public static GameManager Instance { get; private set; }
private vTimerCounter _timerCounter;
private EndGameModule _endGameModule;
private bool _successEnd;
public UnityEvent OnGameInit;
public UnityEvent OnGameStarted;
public UnityEvent OnGameEnded;
@ -44,16 +39,6 @@ public class GameManager : MonoBehaviour
InitReferences();
}
private void OnEnable()
{
_timerCounter.OnTimeEnded.AddListener(OnEndTime);
}
private void OnDisable()
{
_timerCounter.OnTimeEnded.AddListener(OnEndTime);
}
private void Start()
{
LeaderboardController.Instance.RefreshEntries();
@ -61,9 +46,6 @@ public class GameManager : MonoBehaviour
private void InitReferences()
{
_endGameModule = FindObjectOfType<EndGameModule>();
_timerCounter = FindObjectOfType<vTimerCounter>();
OnGameInit?.Invoke();
}
@ -83,7 +65,6 @@ public class GameManager : MonoBehaviour
case GameState.Ended:
{
OnGameEnded?.Invoke();
_endGameModule.ShowEndMenu(_successEnd);
}
break;
}
@ -102,20 +83,4 @@ public class GameManager : MonoBehaviour
_startedOnce = true;
TextShow.ShowTimer(3, "ÑÒÀÐÒ!", 1, null, ()=> ChangeState(GameState.Started));
}
[ContextMenu("Debug End")]
public void OnEndTime()
{
_successEnd = false;
ChangeState(GameState.Ended);
//BNG.SceneLoader.Instance.LoadStartScene();
}
[ContextMenu("Debug Finish")]
public void OnFinish()
{
//_successEnd = true;
//ChangeState(GameState.Ended);
BNG.SceneLoader.Instance.LoadStartScene();
}
}

File diff suppressed because one or more lines are too long

View File

@ -228,9 +228,7 @@ PlayerSettings:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: -6517218471499782410, guid: 1a4c68ca72a83449f938d669337cb305, type: 2}
- {fileID: 0}
- {fileID: 648089955447955448, guid: ac7df53da7627c941aa8b5303dd3d14f, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1