Merge remote-tracking branch 'origin/feature/DisplayUiComponent' into develop
# Conflicts: # Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Meal.cs
This commit is contained in:
commit
517a7ec1f4
BIN
Assets/Plugins/Sirenix/Odin Inspector/Config/Resources/Sirenix/GlobalSerializationConfig.asset
(Stored with Git LFS)
BIN
Assets/Plugins/Sirenix/Odin Inspector/Config/Resources/Sirenix/GlobalSerializationConfig.asset
(Stored with Git LFS)
Binary file not shown.
@ -101,6 +101,7 @@ GameObject:
|
||||
- component: {fileID: 2950132940454135295}
|
||||
- component: {fileID: 29040892075516248}
|
||||
- component: {fileID: 1332098886975329103}
|
||||
- component: {fileID: 3786917981383564029}
|
||||
m_Layer: 7
|
||||
m_Name: RestaurantOrder
|
||||
m_TagString: Untagged
|
||||
@ -180,6 +181,119 @@ SphereCollider:
|
||||
m_Radius: 0.2
|
||||
m_Center: {x: -0.4, y: 0, z: 0}
|
||||
--- !u!114 &29040892075516248
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4103096974375017811}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 239c77aa6dcf4bf9a04aaf76685da13d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
serializationData:
|
||||
SerializedFormat: 2
|
||||
SerializedBytes:
|
||||
ReferencedUnityObjects:
|
||||
- {fileID: 2100000, guid: efc890589b4c46948885cd750384bc6f, type: 2}
|
||||
SerializedBytesString:
|
||||
Prefab: {fileID: 0}
|
||||
PrefabModificationsReferencedUnityObjects: []
|
||||
PrefabModifications: []
|
||||
SerializationNodes:
|
||||
- Name: _materialDictionary
|
||||
Entry: 7
|
||||
Data: 0|System.Collections.Generic.Dictionary`2[[DDD.RestaurantOrderType, Assembly-CSharp],[UnityEngine.Material,
|
||||
UnityEngine.CoreModule]], mscorlib
|
||||
- Name: comparer
|
||||
Entry: 7
|
||||
Data: 1|System.Collections.Generic.EnumEqualityComparer`1[[DDD.RestaurantOrderType,
|
||||
Assembly-CSharp]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 2
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data:
|
||||
- Name: $k
|
||||
Entry: 3
|
||||
Data: 2
|
||||
- Name: $v
|
||||
Entry: 10
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data:
|
||||
- Name: $k
|
||||
Entry: 3
|
||||
Data: 4
|
||||
- Name: $v
|
||||
Entry: 10
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
_temporarySprite: {fileID: 21300000, guid: deef7d28045284f449ec0c47e1cbbcdc, type: 3}
|
||||
--- !u!114 &1332098886975329103
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4103096974375017811}
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f0feb22ab60a4d1885271637838f43b9, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_availableStyle:
|
||||
Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
Width: 1
|
||||
Opacity: 1
|
||||
_focusedStyle:
|
||||
Color: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
|
||||
Width: 1
|
||||
Opacity: 1
|
||||
_unavailableStyle:
|
||||
Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
Width: 0.5
|
||||
Opacity: 1
|
||||
_objectiveStyle:
|
||||
Color: {r: 0, g: 1, b: 1, a: 1}
|
||||
Width: 1
|
||||
Opacity: 1
|
||||
_breathingSpeed: 2
|
||||
_breathingRange: 0.3
|
||||
_enableBreathingEffect: 1
|
||||
_alphaCutOff: 0.5
|
||||
_combineMeshes: 1
|
||||
_constantWidth: 1
|
||||
_outlineQuality: 2
|
||||
_outlineIndependent: 1
|
||||
_outlineBlurPasses: 1
|
||||
_outlineSharpness: 8
|
||||
_currentOutlineType: 0
|
||||
_currentOpacityMultiplier: 1
|
||||
--- !u!114 &3786917981383564029
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@ -379,43 +493,3 @@ MonoBehaviour:
|
||||
hitFxFadeOutDuration: 0.25
|
||||
hitFxColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
hitFxRadius: 0.5
|
||||
--- !u!114 &1332098886975329103
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4103096974375017811}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f0feb22ab60a4d1885271637838f43b9, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_availableStyle:
|
||||
Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
Width: 1
|
||||
Opacity: 1
|
||||
_focusedStyle:
|
||||
Color: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
|
||||
Width: 1
|
||||
Opacity: 1
|
||||
_unavailableStyle:
|
||||
Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
Width: 0.5
|
||||
Opacity: 1
|
||||
_objectiveStyle:
|
||||
Color: {r: 0, g: 1, b: 1, a: 1}
|
||||
Width: 1
|
||||
Opacity: 1
|
||||
_breathingSpeed: 2
|
||||
_breathingRange: 0.3
|
||||
_enableBreathingEffect: 1
|
||||
_alphaCutOff: 0.5
|
||||
_combineMeshes: 1
|
||||
_constantWidth: 1
|
||||
_outlineQuality: 2
|
||||
_outlineIndependent: 1
|
||||
_outlineBlurPasses: 1
|
||||
_outlineSharpness: 8
|
||||
_currentOutlineType: 0
|
||||
_currentOpacityMultiplier: 1
|
||||
|
BIN
Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset
(Stored with Git LFS)
BIN
Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset
(Stored with Git LFS)
Binary file not shown.
@ -18,7 +18,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_UniqueID
|
||||
value: 2072347169
|
||||
value: -154127738
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_TaskData.Array.size
|
||||
@ -30,7 +30,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.size
|
||||
value: 0
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_TaskData.Array.data[0].m_Version
|
||||
@ -56,10 +56,42 @@ PrefabInstance:
|
||||
propertyPath: m_Data.m_EventTaskData.Array.data[0].m_ObjectType
|
||||
value: Opsive.BehaviorDesigner.Runtime.Tasks.Events.Start
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[1].m_Version
|
||||
value: 3.4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[2].m_Version
|
||||
value: 3.4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[3].m_Version
|
||||
value: 3.4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_TaskData.Array.data[0].m_Values.Array.size
|
||||
value: 14
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[0].m_ObjectType
|
||||
value: 'Opsive.GraphDesigner.Runtime.Variables.SharedVariable`1[[System.String,
|
||||
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[1].m_ObjectType
|
||||
value: 'Opsive.GraphDesigner.Runtime.Variables.SharedVariable`1[[UnityEngine.GameObject,
|
||||
UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]'
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[2].m_ObjectType
|
||||
value: 'Opsive.GraphDesigner.Runtime.Variables.SharedVariable`1[[UnityEngine.GameObject,
|
||||
UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]'
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[3].m_ObjectType
|
||||
value: 'Opsive.GraphDesigner.Runtime.Variables.SharedVariable`1[[System.String,
|
||||
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_TaskData.Array.data[0].m_Values.Array.data[2]'
|
||||
value: 255
|
||||
@ -392,6 +424,22 @@ PrefabInstance:
|
||||
propertyPath: m_Data.m_TaskData.Array.data[0].m_LongValueHashes.Array.size
|
||||
value: 6
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[0].m_Values.Array.size
|
||||
value: 15
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[1].m_Values.Array.size
|
||||
value: 19
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[2].m_Values.Array.size
|
||||
value: 29
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[3].m_Values.Array.size
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_TaskData.Array.data[0].m_ValuePositions.Array.data[1]'
|
||||
value: 2
|
||||
@ -500,6 +548,166 @@ PrefabInstance:
|
||||
propertyPath: m_Data.m_EventTaskData.Array.data[0].m_ValuePositions.Array.size
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[0]'
|
||||
value: 67
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[1]'
|
||||
value: 117
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[2]'
|
||||
value: 115
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[3]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[4]'
|
||||
value: 111
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[5]'
|
||||
value: 109
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[6]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[7]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[8]'
|
||||
value: 68
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[9]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[0]'
|
||||
value: 83
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[1]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[2]'
|
||||
value: 108
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[3]'
|
||||
value: 102
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[4]'
|
||||
value: 71
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[5]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[6]'
|
||||
value: 109
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[7]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[8]'
|
||||
value: 79
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[9]'
|
||||
value: 98
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[0]'
|
||||
value: 67
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[1]'
|
||||
value: 117
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[2]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[3]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[4]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[5]'
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[6]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[7]'
|
||||
value: 73
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[8]'
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[9]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[0]'
|
||||
value: 67
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[1]'
|
||||
value: 117
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[2]'
|
||||
value: 115
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[3]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[4]'
|
||||
value: 111
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[5]'
|
||||
value: 109
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[6]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[7]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[8]'
|
||||
value: 68
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[9]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_TaskData.Array.data[0].m_LongValueHashes.Array.data[10]'
|
||||
value: 1600038550733978463
|
||||
@ -532,6 +740,246 @@ PrefabInstance:
|
||||
propertyPath: m_Data.m_EventTaskData.Array.data[0].m_LongValueHashes.Array.size
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[10]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[11]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[12]'
|
||||
value: 73
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[13]'
|
||||
value: 100
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[14]'
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[15]'
|
||||
value: 105
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[16]'
|
||||
value: 111
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[17]'
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[18]'
|
||||
value: 84
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[19]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[20]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[21]'
|
||||
value: 103
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[22]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[23]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[24]'
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[25]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[26]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[27]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_Values.Array.data[28]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[10]'
|
||||
value: 106
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[11]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[12]'
|
||||
value: 99
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[13]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[14]'
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[15]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[16]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[17]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[18]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[19]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[20]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[21]'
|
||||
value: 103
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[22]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[23]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[24]'
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[25]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[26]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[27]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_Values.Array.data[28]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[10]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[11]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[12]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[13]'
|
||||
value: 99
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[14]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[15]'
|
||||
value: 105
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[16]'
|
||||
value: 111
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[17]'
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[18]'
|
||||
value: 84
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[19]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[20]'
|
||||
value: 114
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[21]'
|
||||
value: 103
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[22]'
|
||||
value: 101
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[23]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[24]'
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[25]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[26]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[27]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_Values.Array.data[28]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[10]'
|
||||
value: 116
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[11]'
|
||||
value: 97
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_Values.Array.data[12]'
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_EventNodePropertiesData.Array.data[0].m_Values.Array.size
|
||||
value: 65
|
||||
@ -624,6 +1072,18 @@ PrefabInstance:
|
||||
propertyPath: 'm_Data.m_LogicNodePropertiesData.Array.data[0].m_Values.Array.data[9]'
|
||||
value: 48
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[1].m_ValuePositions.Array.size
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[2].m_ValuePositions.Array.size
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[3].m_ValuePositions.Array.size
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_EventNodePropertiesData.Array.data[0].m_Values.Array.data[10]'
|
||||
value: 97
|
||||
@ -900,6 +1360,118 @@ PrefabInstance:
|
||||
propertyPath: 'm_Data.m_LogicNodePropertiesData.Array.data[0].m_Values.Array.data[72]'
|
||||
value: 255
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[1].m_LongValueHashes.Array.size
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[2].m_LongValueHashes.Array.size
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_SharedVariableData.Array.data[3].m_LongValueHashes.Array.size
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_ValuePositions.Array.data[1]'
|
||||
value: 14
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_ValuePositions.Array.data[2]'
|
||||
value: 14
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_ValuePositions.Array.data[3]'
|
||||
value: 15
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_ValuePositions.Array.data[1]'
|
||||
value: 14
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_ValuePositions.Array.data[2]'
|
||||
value: 14
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_ValuePositions.Array.data[3]'
|
||||
value: 15
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_ValuePositions.Array.data[1]'
|
||||
value: 24
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_ValuePositions.Array.data[2]'
|
||||
value: 24
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_ValuePositions.Array.data[3]'
|
||||
value: 25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_ValuePositions.Array.data[1]'
|
||||
value: 12
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_ValuePositions.Array.data[2]'
|
||||
value: 12
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_ValuePositions.Array.data[3]'
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[0].m_LongValueHashes.Array.data[3]'
|
||||
value: 2962117259711222017
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_LongValueHashes.Array.data[0]'
|
||||
value: 2962116551004323853
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_LongValueHashes.Array.data[1]'
|
||||
value: 5320327273874761402
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_LongValueHashes.Array.data[2]'
|
||||
value: -8563765895643031895
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[1].m_LongValueHashes.Array.data[3]'
|
||||
value: 3253260240476711
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_LongValueHashes.Array.data[0]'
|
||||
value: 2962116551004323853
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_LongValueHashes.Array.data[1]'
|
||||
value: 5320327273874761402
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_LongValueHashes.Array.data[2]'
|
||||
value: -8563765895643031895
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[2].m_LongValueHashes.Array.data[3]'
|
||||
value: 3253260240476711
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_LongValueHashes.Array.data[0]'
|
||||
value: 2962116551004323853
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_LongValueHashes.Array.data[1]'
|
||||
value: 5320327273874761402
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_LongValueHashes.Array.data[2]'
|
||||
value: -8563765895643031895
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: 'm_Data.m_SharedVariableData.Array.data[3].m_LongValueHashes.Array.data[3]'
|
||||
value: 2962117259711222017
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3854744934792897056, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
propertyPath: m_Data.m_EventNodePropertiesData.Array.data[0].m_ValuePositions.Array.size
|
||||
value: 7
|
||||
@ -1210,6 +1782,9 @@ PrefabInstance:
|
||||
- targetCorrespondingSourceObject: {fileID: 7462519206451630147, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 3825874317044733320}
|
||||
- targetCorrespondingSourceObject: {fileID: 7462519206451630147, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: -2762894235068769830}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3}
|
||||
--- !u!1 &4266090516809920735 stripped
|
||||
GameObject:
|
||||
@ -1252,3 +1827,41 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: af69e82818254bfa9cabb2dbf9430850, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &-2762894235068769830
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4266090516809920735}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0b02b4aaf7aa44843b836f6e31da7d39, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SharedVariableData:
|
||||
- m_ObjectType: 'Opsive.GraphDesigner.Runtime.Variables.SharedVariable`1[[System.String,
|
||||
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'
|
||||
m_ValueHashes:
|
||||
m_LongValueHashes: 0d00eb254f8d1b29baa620a07799d549a996976a4a64278901112428f48d1b29
|
||||
m_ValuePositions: 000000000e0000000e0000000f000000
|
||||
m_Values: 437573746f6d657244617461496403
|
||||
m_UnityObjects: []
|
||||
m_Version: 3.4
|
||||
- m_ObjectType: 'Opsive.GraphDesigner.Runtime.Variables.SharedVariable`1[[UnityEngine.GameObject,
|
||||
UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]'
|
||||
m_ValueHashes:
|
||||
m_LongValueHashes: 0d00eb254f8d1b29baa620a07799d549a996976a4a64278927dafeacd28e0b00
|
||||
m_ValuePositions: 000000000e0000000e0000000f000000
|
||||
m_Values: 53656c6647616d654f626a65637403ffffffff
|
||||
m_UnityObjects: []
|
||||
m_Version: 3.4
|
||||
- m_ObjectType: 'Opsive.GraphDesigner.Runtime.Variables.SharedVariable`1[[UnityEngine.GameObject,
|
||||
UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]'
|
||||
m_ValueHashes:
|
||||
m_LongValueHashes: 0d00eb254f8d1b29baa620a07799d549a996976a4a64278927dafeacd28e0b00
|
||||
m_ValuePositions: 00000000180000001800000019000000
|
||||
m_Values: 43757272656e74496e746572616374696f6e54617267657403ffffffff
|
||||
m_UnityObjects: []
|
||||
m_Version: 3.4
|
||||
m_UniqueID: -846296488
|
||||
|
@ -194,7 +194,9 @@ private void StartOrUpdateMovement()
|
||||
|
||||
private TaskStatus CheckMovementCompletion()
|
||||
{
|
||||
var distanceSqr = (GetAgentPosition() - _currentDestination).sqrMagnitude;
|
||||
Vector3 distance2D = _currentDestination - GetAgentPosition();
|
||||
distance2D.y = 0f;
|
||||
var distanceSqr = (distance2D).sqrMagnitude;
|
||||
var stoppingDistanceSqr = stoppingDistance * stoppingDistance;
|
||||
|
||||
if (distanceSqr <= stoppingDistanceSqr || _movement.HasReachedDestination())
|
||||
|
@ -1,38 +1,42 @@
|
||||
using Opsive.BehaviorDesigner.Runtime;
|
||||
using Opsive.GraphDesigner.Runtime.Variables;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
public class CustomerBlackboardComponent : MonoBehaviour, ICustomerBlackboard, IAISharedBlackboard
|
||||
{
|
||||
// private Subtree _behaviorTree;
|
||||
private BehaviorTree _behaviorTree;
|
||||
//private GameObjectSharedVariables _sharedVariables;
|
||||
|
||||
public void InitializeWithBehaviorTree(BehaviorTree inBehaviorTree)
|
||||
{
|
||||
//_sharedVariables = GetComponent<GameObjectSharedVariables>();
|
||||
_behaviorTree = inBehaviorTree;
|
||||
if (_behaviorTree)
|
||||
{
|
||||
_behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.SelfGameObject), gameObject);
|
||||
}
|
||||
if (!_behaviorTree) return;
|
||||
//_sharedVariables.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.SelfGameObject), gameObject);
|
||||
_behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.SelfGameObject), gameObject, SharedVariable.SharingScope.GameObject);
|
||||
}
|
||||
|
||||
public void SetCustomerData(string inCustomerDataId)
|
||||
{
|
||||
if (!_behaviorTree) return;
|
||||
_behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerDataId), inCustomerDataId);
|
||||
//_sharedVariables.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.SelfGameObject), gameObject);
|
||||
_behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerDataId), inCustomerDataId, SharedVariable.SharingScope.GameObject);
|
||||
}
|
||||
|
||||
public void SetBlackboardGameObject(string key, GameObject inGameObject)
|
||||
{
|
||||
if (_behaviorTree == null) return;
|
||||
_behaviorTree.SetVariableValue(key, inGameObject);
|
||||
if (!_behaviorTree) return;
|
||||
//_sharedVariables.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.SelfGameObject), gameObject);
|
||||
_behaviorTree.SetVariableValue(key, inGameObject, SharedVariable.SharingScope.GameObject);
|
||||
}
|
||||
|
||||
public GameObject GetBlackboardGameObject(string key)
|
||||
{
|
||||
if (_behaviorTree == null) return null;
|
||||
return _behaviorTree.GetVariable<GameObject>(key)?.Value;
|
||||
if (!_behaviorTree) return null;
|
||||
//return _sharedVariables.GetVariable<GameObject>(key).Value;
|
||||
return _behaviorTree.GetVariable<GameObject>(key, SharedVariable.SharingScope.GameObject)?.Value;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
using System;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
public enum RestaurantMealType : uint
|
||||
{
|
||||
None = 0u,
|
||||
WaitForOrder = 1u,
|
||||
WaitForServe = 1u << 1
|
||||
}
|
||||
public class InteractionSubsystem_Meal : MonoBehaviour, IInteractionSubsystemObject<RestaurantMealType>
|
||||
{
|
||||
private RestaurantMealType _currentRestaurantMealType;
|
||||
private void Awake()
|
||||
{
|
||||
_currentRestaurantMealType = RestaurantMealType.None;
|
||||
}
|
||||
public RestaurantMealType GetInteractionSubsystemType()
|
||||
{
|
||||
return _currentRestaurantMealType;
|
||||
}
|
||||
|
||||
public void SetInteractionSubsystemType(RestaurantMealType inValue)
|
||||
{
|
||||
Debug.Log($"[{gameObject.GetHashCode()}, {GetType().Name}] SetInteractionSubsystemType {inValue.ToString()}");
|
||||
_currentRestaurantMealType = inValue;
|
||||
}
|
||||
|
||||
public void InitializeSubsystem()
|
||||
{
|
||||
Debug.Log($"[{gameObject.GetHashCode()}, {GetType().Name}] InitializeSubsystem");
|
||||
_currentRestaurantMealType = RestaurantMealType.None;
|
||||
}
|
||||
|
||||
public bool CanInteract()
|
||||
{
|
||||
return _currentRestaurantMealType != RestaurantMealType.None;
|
||||
}
|
||||
|
||||
public bool OnInteracted(IInteractor interactor, ScriptableObject payloadSo = null)
|
||||
{
|
||||
Debug.Log($"[{gameObject.GetHashCode()}, {GetType().Name}] OnInteracted");
|
||||
var prev = _currentRestaurantMealType;
|
||||
_currentRestaurantMealType = GetNextState(prev);
|
||||
return true;
|
||||
}
|
||||
|
||||
public string GetCurrentSubsystemTypeName()
|
||||
{
|
||||
return _currentRestaurantMealType.ToString();
|
||||
}
|
||||
|
||||
public ScriptableObject GetPayload()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
private RestaurantMealType GetNextState(RestaurantMealType state)
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
case RestaurantMealType.None : return RestaurantMealType.WaitForOrder;
|
||||
case RestaurantMealType.WaitForOrder : return RestaurantMealType.WaitForServe;
|
||||
case RestaurantMealType.WaitForServe : return RestaurantMealType.None;
|
||||
default: return RestaurantMealType.None;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 31d5c600061a4f05b19824e068e0c2af
|
||||
timeCreated: 1756176676
|
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 601164c0231c43fca9349170e1e0ccec
|
||||
timeCreated: 1756176395
|
@ -1,18 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
public class RestaurantMealSolver : RestaurantSubsystemSolver<RestaurantMealType>
|
||||
{
|
||||
private Dictionary<RestaurantMealType, Type> _typeToMealSolver = new()
|
||||
{
|
||||
{ RestaurantMealType.WaitForOrder, typeof(RestaurantMealSolver_WaitForOrder) },
|
||||
{ RestaurantMealType.WaitForServe, typeof(RestaurantMealSolver_WaitForServe) }
|
||||
};
|
||||
protected override Dictionary<RestaurantMealType, Type> GetSubsystemSolverTypeMappings()
|
||||
{
|
||||
return _typeToMealSolver;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 391c551614be4f21a2e700f44569e92a
|
||||
timeCreated: 1756176491
|
@ -1,18 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
public class RestaurantMealSolver_WaitForOrder : MonoBehaviour, IInteractionSubsystemSolver<RestaurantMealType>
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cff2611181194e4a92576bdbcead4fad
|
||||
timeCreated: 1756181225
|
@ -1,17 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
public class RestaurantMealSolver_WaitForServe : MonoBehaviour, IInteractionSubsystemSolver<RestaurantMealType>
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e9292616267b4299a3d2e0d29c84f69b
|
||||
timeCreated: 1756181667
|
@ -0,0 +1,25 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public abstract class RestaurantOrderSolverBase : MonoBehaviour, IInteractionSubsystemSolver<RestaurantOrderType>
|
||||
{
|
||||
public virtual bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
if (CanExecuteInteractionSubsystem(interactor, interactable, payload) == false)
|
||||
return false;
|
||||
if (interactable is not IInteractionSubsystemOwner subsystemOwner)
|
||||
return false;
|
||||
if (!subsystemOwner.TryGetSubsystemObject<RestaurantOrderType>(out var subsystem))
|
||||
return false;
|
||||
if (subsystem is IRestaurantOrderObject orderObject)
|
||||
{
|
||||
orderObject.TransitionToNextPhase();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public abstract bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e604447c59644519d262f7cab69cdee
|
||||
timeCreated: 1756366153
|
@ -2,17 +2,15 @@
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class RestaurantOrderSolver_Busy : MonoBehaviour, IInteractionSubsystemSolver<RestaurantOrderType>
|
||||
public class RestaurantOrderSolver_Busy : RestaurantOrderSolverBase
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
public override bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
// TODO : DO SOMETHING!!!
|
||||
return true;
|
||||
return base.ExecuteInteractionSubsystem(interactor, interactable, payload);
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
public override bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
// TODO : DO SOMETHING!!!
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -2,15 +2,14 @@
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class RestaurantOrderSolver_Dirty : MonoBehaviour, IInteractionSubsystemSolver<RestaurantOrderType>
|
||||
public class RestaurantOrderSolver_Dirty : RestaurantOrderSolverBase
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
public override bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
// TODO : DO SOMETHING!!!
|
||||
return true;
|
||||
return base.ExecuteInteractionSubsystem(interactor, interactable, payload);
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
public override bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -2,15 +2,14 @@
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class RestaurantOrderSolver_Order : MonoBehaviour, IInteractionSubsystemSolver<RestaurantOrderType>
|
||||
public class RestaurantOrderSolver_Order : RestaurantOrderSolverBase
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
public override bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
// TODO : DO SOMETHING!!!
|
||||
return true;
|
||||
return base.ExecuteInteractionSubsystem(interactor, interactable, payload);
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
public override bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -2,18 +2,16 @@
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class RestaurantOrderSolver_Reserved : MonoBehaviour, IInteractionSubsystemSolver<RestaurantOrderType>
|
||||
public class RestaurantOrderSolver_Reserved : RestaurantOrderSolverBase
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
public override bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
// TODO : DO SOMETHING!!!
|
||||
return true;
|
||||
return base.ExecuteInteractionSubsystem(interactor, interactable, payload);
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
public override bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
// Interactable's CurrentInteractor is me? => Can execute
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
@ -2,15 +2,14 @@
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class RestaurantOrderSolver_Serve : MonoBehaviour, IInteractionSubsystemSolver<RestaurantOrderType>
|
||||
public class RestaurantOrderSolver_Serve : RestaurantOrderSolverBase
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
public override bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
// TODO : DO SOMETHING!!!
|
||||
return true;
|
||||
return base.ExecuteInteractionSubsystem(interactor, interactable, payload);
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
public override bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -3,25 +3,14 @@
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class RestaurantOrderSolver_Wait : MonoBehaviour, IInteractionSubsystemSolver<RestaurantOrderType>
|
||||
public class RestaurantOrderSolver_Wait : RestaurantOrderSolverBase
|
||||
{
|
||||
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
public override bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null)
|
||||
{
|
||||
if (CanExecuteInteractionSubsystem(interactor, interactable, payload) == false)
|
||||
return false;
|
||||
if (interactable is not IInteractionSubsystemOwner subsystemOwner)
|
||||
return false;
|
||||
if (!subsystemOwner.TryGetSubsystemObject<RestaurantOrderType>(out var subsystem))
|
||||
return false;
|
||||
if (subsystem is IRestaurantOrderObject orderObject)
|
||||
{
|
||||
orderObject.TransitionToNextPhase();
|
||||
}
|
||||
|
||||
return true;
|
||||
return base.ExecuteInteractionSubsystem(interactor, interactable, payload);
|
||||
}
|
||||
|
||||
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
public override bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject payload = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
3
Assets/_DDD/_Scripts/Restaurant/Ui/OrderUi.meta
Normal file
3
Assets/_DDD/_Scripts/Restaurant/Ui/OrderUi.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87ed47ac3b814346aee2f613d39082b3
|
||||
timeCreated: 1756357383
|
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ffa0a2f63cc4324a4ae90ff95b29cb5
|
||||
timeCreated: 1756357391
|
@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public abstract class PropUiDisplayComponent<T> : SerializedMonoBehaviour where T : Enum
|
||||
{
|
||||
private IInteractionSubsystemObject<T> _interactionSubsystemObject;
|
||||
private Dictionary<T, Material> _materialDictionary;
|
||||
private T _prevInteractionType;
|
||||
protected SpriteRenderer _spriteRenderer;
|
||||
private void Awake()
|
||||
{
|
||||
Initialize();
|
||||
}
|
||||
|
||||
protected abstract Dictionary<T, Material> SetMaterialDictionary();
|
||||
|
||||
protected virtual void Initialize()
|
||||
{
|
||||
bool isInteractionSubsystem = gameObject.TryGetComponent(out _interactionSubsystemObject);
|
||||
var interactable = GetComponent<IInteractable>();
|
||||
if (!isInteractionSubsystem)
|
||||
{
|
||||
Debug.LogError($"Interaction Subsystem<{typeof(T)}> is not exist");
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: 임시 나중에 제대로 수정할 것
|
||||
var uiGameObject = Instantiate(new GameObject("TemporaryUi"), transform);
|
||||
uiGameObject.transform.position = interactable.GetInteractionPoints()[0] + Vector3.up * 2;
|
||||
_spriteRenderer = uiGameObject.AddComponent<SpriteRenderer>();
|
||||
_spriteRenderer.enabled = false;
|
||||
_materialDictionary = SetMaterialDictionary();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
T currentInteractionType = _interactionSubsystemObject.GetInteractionSubsystemType();
|
||||
if (EqualityComparer<T>.Default.Equals(_prevInteractionType, currentInteractionType)) return;
|
||||
_prevInteractionType = currentInteractionType;
|
||||
UpdateView(_prevInteractionType);
|
||||
}
|
||||
|
||||
private void UpdateView(T state)
|
||||
{
|
||||
if (!_materialDictionary.TryGetValue(state, out var material) || material == null)
|
||||
{
|
||||
// TODO 캔버스 다운
|
||||
_spriteRenderer.enabled = false;
|
||||
return;
|
||||
}
|
||||
// ui 머티리얼 교체
|
||||
_spriteRenderer.enabled = true;
|
||||
_spriteRenderer.material = material;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Sirenix.OdinInspector;
|
||||
using Sirenix.Serialization;
|
||||
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class RestaurantUiDisplayComponent : PropUiDisplayComponent<RestaurantOrderType>
|
||||
{
|
||||
[SerializeField]
|
||||
private Sprite _temporarySprite;
|
||||
[OdinSerialize]
|
||||
private Dictionary<RestaurantOrderType, Material> _materialDictionary = new();
|
||||
protected override Dictionary<RestaurantOrderType, Material> SetMaterialDictionary()
|
||||
{
|
||||
return _materialDictionary;
|
||||
}
|
||||
|
||||
protected override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
_spriteRenderer.sprite = _temporarySprite;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 239c77aa6dcf4bf9a04aaf76685da13d
|
||||
timeCreated: 1756357438
|
@ -1,9 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD.Restaurant
|
||||
{
|
||||
public class PropUiDisplayComponent : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user