forked from zxl/LaboratoryProtection
Add Some Helper and dialoguedata
parent
213da32b68
commit
eb003c4482
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -33,7 +33,7 @@ AnimatorStateMachine:
|
||||||
m_ChildStates:
|
m_ChildStates:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: 5293858650183072699}
|
m_State: {fileID: 5293858650183072699}
|
||||||
m_Position: {x: 200, y: 0, z: 0}
|
m_Position: {x: 270, y: 170, z: 0}
|
||||||
m_ChildStateMachines: []
|
m_ChildStateMachines: []
|
||||||
m_AnyStateTransitions: []
|
m_AnyStateTransitions: []
|
||||||
m_EntryTransitions: []
|
m_EntryTransitions: []
|
||||||
|
@ -64,7 +64,8 @@ AnimatorState:
|
||||||
m_MirrorParameterActive: 0
|
m_MirrorParameterActive: 0
|
||||||
m_CycleOffsetParameterActive: 0
|
m_CycleOffsetParameterActive: 0
|
||||||
m_TimeParameterActive: 0
|
m_TimeParameterActive: 0
|
||||||
m_Motion: {fileID: 1827226128182048838, guid: b0165af1b62f4df4c9b04d59700c300f, type: 3}
|
m_Motion: {fileID: 1827226128182048838, guid: b0165af1b62f4df4c9b04d59700c300f,
|
||||||
|
type: 3}
|
||||||
m_Tag:
|
m_Tag:
|
||||||
m_SpeedParameter:
|
m_SpeedParameter:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
|
|
|
@ -102,7 +102,7 @@ ModelImporter:
|
||||||
cycleOffset: 0
|
cycleOffset: 0
|
||||||
loop: 0
|
loop: 0
|
||||||
hasAdditiveReferencePose: 0
|
hasAdditiveReferencePose: 0
|
||||||
loopTime: 1
|
loopTime: 0
|
||||||
loopBlend: 0
|
loopBlend: 0
|
||||||
loopBlendOrientation: 0
|
loopBlendOrientation: 0
|
||||||
loopBlendPositionY: 0
|
loopBlendPositionY: 0
|
||||||
|
|
|
@ -44,7 +44,7 @@ ModelImporter:
|
||||||
cycleOffset: 0
|
cycleOffset: 0
|
||||||
loop: 0
|
loop: 0
|
||||||
hasAdditiveReferencePose: 0
|
hasAdditiveReferencePose: 0
|
||||||
loopTime: 1
|
loopTime: 0
|
||||||
loopBlend: 0
|
loopBlend: 0
|
||||||
loopBlendOrientation: 0
|
loopBlendOrientation: 0
|
||||||
loopBlendPositionY: 0
|
loopBlendPositionY: 0
|
||||||
|
@ -73,7 +73,7 @@ ModelImporter:
|
||||||
cycleOffset: 0
|
cycleOffset: 0
|
||||||
loop: 0
|
loop: 0
|
||||||
hasAdditiveReferencePose: 0
|
hasAdditiveReferencePose: 0
|
||||||
loopTime: 1
|
loopTime: 0
|
||||||
loopBlend: 0
|
loopBlend: 0
|
||||||
loopBlendOrientation: 0
|
loopBlendOrientation: 0
|
||||||
loopBlendPositionY: 0
|
loopBlendPositionY: 0
|
||||||
|
|
|
@ -11,7 +11,7 @@ AnimatorStateMachine:
|
||||||
m_ChildStates:
|
m_ChildStates:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: 3987000052103911472}
|
m_State: {fileID: 3987000052103911472}
|
||||||
m_Position: {x: 200, y: 0, z: 0}
|
m_Position: {x: 280, y: 100, z: 0}
|
||||||
m_ChildStateMachines: []
|
m_ChildStateMachines: []
|
||||||
m_AnyStateTransitions: []
|
m_AnyStateTransitions: []
|
||||||
m_EntryTransitions: []
|
m_EntryTransitions: []
|
||||||
|
@ -64,7 +64,8 @@ AnimatorState:
|
||||||
m_MirrorParameterActive: 0
|
m_MirrorParameterActive: 0
|
||||||
m_CycleOffsetParameterActive: 0
|
m_CycleOffsetParameterActive: 0
|
||||||
m_TimeParameterActive: 0
|
m_TimeParameterActive: 0
|
||||||
m_Motion: {fileID: 1827226128182048838, guid: a61570d86a77b4e41b444c980929738d, type: 3}
|
m_Motion: {fileID: 1827226128182048838, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
m_Tag:
|
m_Tag:
|
||||||
m_SpeedParameter:
|
m_SpeedParameter:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 04bf0b3bc2664c5495c6dade6de3fcfb
|
||||||
|
timeCreated: 1694531489
|
|
@ -11531,6 +11531,108 @@ PrefabInstance:
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 12ff962fdd1e1e94b9b1e98f083c46a8, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 12ff962fdd1e1e94b9b1e98f083c46a8, type: 3}
|
||||||
|
--- !u!1001 &461131878
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 733604854}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: 2~3_tongxueE (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: a61570d86a77b4e41b444c980929738d, type: 3}
|
||||||
|
--- !u!1 &461131879 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 461131878}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!4 &461131880 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: a61570d86a77b4e41b444c980929738d,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 461131878}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!95 &461131881
|
||||||
|
Animator:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 461131879}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Avatar: {fileID: 0}
|
||||||
|
m_Controller: {fileID: 9100000, guid: 36649e8c3bb37384ab35e6f2b07d3a30, type: 2}
|
||||||
|
m_CullingMode: 0
|
||||||
|
m_UpdateMode: 0
|
||||||
|
m_ApplyRootMotion: 0
|
||||||
|
m_LinearVelocityBlending: 0
|
||||||
|
m_StabilizeFeet: 0
|
||||||
|
m_WarningMessage:
|
||||||
|
m_HasTransformHierarchy: 1
|
||||||
|
m_AllowConstantClipSamplingOptimization: 1
|
||||||
|
m_KeepAnimatorStateOnDisable: 0
|
||||||
|
m_WriteDefaultValuesOnDisable: 0
|
||||||
--- !u!1 &471078484
|
--- !u!1 &471078484
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -17744,6 +17846,38 @@ Transform:
|
||||||
m_Father: {fileID: 1593517584}
|
m_Father: {fileID: 1593517584}
|
||||||
m_RootOrder: 12
|
m_RootOrder: 12
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1 &733604852
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 733604854}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Test
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &733604854
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 733604852}
|
||||||
|
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:
|
||||||
|
- {fileID: 461131880}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 6
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &733957527
|
--- !u!1 &733957527
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -32936,6 +33070,7 @@ GameObject:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 1593517584}
|
- component: {fileID: 1593517584}
|
||||||
|
- component: {fileID: 1593517585}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Animations
|
m_Name: Animations
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -32975,6 +33110,509 @@ Transform:
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 1
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!114 &1593517585
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1593517583}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 36cbc24cd0514980a4fabdee498a6bfb, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
serializationData:
|
||||||
|
SerializedFormat: 2
|
||||||
|
SerializedBytes:
|
||||||
|
ReferencedUnityObjects:
|
||||||
|
- {fileID: 2008245095}
|
||||||
|
- {fileID: 980783916}
|
||||||
|
- {fileID: 425978245}
|
||||||
|
- {fileID: 675264984}
|
||||||
|
- {fileID: 755497426}
|
||||||
|
- {fileID: 832800403}
|
||||||
|
- {fileID: 1872876346}
|
||||||
|
- {fileID: 34233047}
|
||||||
|
- {fileID: 25939700}
|
||||||
|
- {fileID: 1445323537}
|
||||||
|
- {fileID: 58637062}
|
||||||
|
- {fileID: 573095942}
|
||||||
|
- {fileID: 2076571750}
|
||||||
|
- {fileID: 147383034}
|
||||||
|
- {fileID: 424166791}
|
||||||
|
- {fileID: 1739439510}
|
||||||
|
- {fileID: 324589694}
|
||||||
|
- {fileID: 128226126}
|
||||||
|
- {fileID: 1600003584}
|
||||||
|
- {fileID: 612757364}
|
||||||
|
- {fileID: 616033231}
|
||||||
|
- {fileID: 1215774805}
|
||||||
|
- {fileID: 2102446151}
|
||||||
|
- {fileID: 410887829}
|
||||||
|
- {fileID: 179901709}
|
||||||
|
- {fileID: 61712748}
|
||||||
|
- {fileID: 595983227}
|
||||||
|
- {fileID: 800570413}
|
||||||
|
- {fileID: 693377319}
|
||||||
|
- {fileID: 1955482979}
|
||||||
|
- {fileID: 486137304}
|
||||||
|
- {fileID: 1613137119}
|
||||||
|
- {fileID: 487012804}
|
||||||
|
SerializedBytesString:
|
||||||
|
Prefab: {fileID: 0}
|
||||||
|
PrefabModificationsReferencedUnityObjects: []
|
||||||
|
PrefabModifications: []
|
||||||
|
SerializationNodes:
|
||||||
|
- Name: dictionary
|
||||||
|
Entry: 7
|
||||||
|
Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Collections.Generic.List`1[[UnityEngine.Animator,
|
||||||
|
UnityEngine.AnimationModule]], mscorlib]], mscorlib
|
||||||
|
- Name: comparer
|
||||||
|
Entry: 7
|
||||||
|
Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
|
||||||
|
mscorlib]], mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 15
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-2
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 2|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 3
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 0
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 1
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-3
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 3|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 4
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 3
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 4
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 5
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 6
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-4
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 4|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 7
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 7
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 8
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 9
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 10
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 11
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 12
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 13
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-5
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 5|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 1
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 14
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-6
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 6|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 1
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 15
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-7
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 7|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 16
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 17
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-8
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 8|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 18
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 19
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-9
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 9|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 20
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 21
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-10
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 10|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 22
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 23
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-11
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 11|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 24
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 25
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-12
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 12|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 1
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 26
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-13
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 13|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 27
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 28
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-14
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 14|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 2
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 29
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 30
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: 2-15
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 15|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 1
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 31
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: HuanZuang
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 16|System.Collections.Generic.List`1[[UnityEngine.Animator, UnityEngine.AnimationModule]],
|
||||||
|
mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 1
|
||||||
|
- Name:
|
||||||
|
Entry: 10
|
||||||
|
Data: 32
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
--- !u!1001 &1600003582
|
--- !u!1001 &1600003582
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -40348,7 +40986,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &1916875338
|
--- !u!224 &1916875338
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1fa73cfe0f0b2f94fa142458ec1d7c04
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,32 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Sirenix.OdinInspector;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace UnityTest.ZXL
|
||||||
|
{
|
||||||
|
public class AnimatorManager : SerializedMonoBehaviour
|
||||||
|
{
|
||||||
|
public Dictionary<string, List<Animator>> dictionary = new Dictionary<string, List<Animator>>();
|
||||||
|
|
||||||
|
[Button("Add")]
|
||||||
|
void AutoAdd()
|
||||||
|
{
|
||||||
|
var activeObject = Selection.activeObject as GameObject;
|
||||||
|
var animators = activeObject.GetComponentAllChild<Animator>();
|
||||||
|
foreach (var animator in animators)
|
||||||
|
{
|
||||||
|
var animatorName = animator.name;
|
||||||
|
if (animator.transform.parent != null)
|
||||||
|
{
|
||||||
|
animatorName = animator.transform.parent.name;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dictionary.ContainsKey(animatorName))
|
||||||
|
dictionary[animatorName].Add(animator);
|
||||||
|
else
|
||||||
|
dictionary.Add(animatorName, new List<Animator>() { animator });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 36cbc24cd0514980a4fabdee498a6bfb
|
||||||
|
timeCreated: 1694529226
|
|
@ -0,0 +1,8 @@
|
||||||
|
using Sirenix.OdinInspector;
|
||||||
|
|
||||||
|
namespace UnityTest.ZXL
|
||||||
|
{
|
||||||
|
public class CameraManager : SerializedMonoBehaviour
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e7603f3bcb2041c68d258e475b0c7b6a
|
||||||
|
timeCreated: 1694529177
|
|
@ -0,0 +1,92 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using HighlightPlus;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI.Extensions;
|
||||||
|
using Object = UnityEngine.Object;
|
||||||
|
|
||||||
|
namespace UnityTest.ZXL
|
||||||
|
{
|
||||||
|
public static class CommonHelper
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取子物体所有具有某个组件的物体
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="self"></param>
|
||||||
|
/// <typeparam name="T"></typeparam>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static List<T> GetComponentAllChild<T>(this GameObject self) where T : Object
|
||||||
|
{
|
||||||
|
List<T> list = new List<T>();
|
||||||
|
|
||||||
|
Get<T>(self, ref list);
|
||||||
|
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Get<T>(GameObject go, ref List<T> list) where T : Object
|
||||||
|
{
|
||||||
|
if (go.TryGetComponent(out T t))
|
||||||
|
{
|
||||||
|
list.Add(t);
|
||||||
|
}
|
||||||
|
|
||||||
|
var goTransform = go.transform;
|
||||||
|
for (var i = 0; i < goTransform.childCount; i++)
|
||||||
|
{
|
||||||
|
Get<T>(goTransform.GetChild(i).gameObject, ref list);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 高亮开启
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="self"></param>
|
||||||
|
public static void HighlightOpen(this GameObject self)
|
||||||
|
{
|
||||||
|
var highlightEffect = self.GetOrAddComponent<HighlightEffect>();
|
||||||
|
highlightEffect.highlighted = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 高亮关闭
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="self"></param>
|
||||||
|
public static void HighlightOff(this GameObject self)
|
||||||
|
{
|
||||||
|
if (!self.TryGetComponent(out HighlightEffect highlightEffect))
|
||||||
|
Debug.LogError($"{self.name} dont have HighlightEffect Component !!!!");
|
||||||
|
|
||||||
|
highlightEffect.highlighted = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 等待动画播放结束后执行回调方法
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="animator"></param>
|
||||||
|
/// <param name="clipName"></param>
|
||||||
|
/// <param name="action"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static System.Collections.IEnumerator WaitAnimatorPlayOver(this Animator animator, string clipName, Action action)
|
||||||
|
{
|
||||||
|
bool isOver = false;
|
||||||
|
AnimatorStateInfo animatorInfo;
|
||||||
|
|
||||||
|
animator.Play(clipName);
|
||||||
|
Debug.Log($"Start Play {clipName} Clip");
|
||||||
|
|
||||||
|
while (!isOver)
|
||||||
|
{
|
||||||
|
yield return null;
|
||||||
|
animatorInfo = animator.GetCurrentAnimatorStateInfo(0); //必须放在update里
|
||||||
|
if ((animatorInfo.normalizedTime > 1.0f) && (animatorInfo.IsName(clipName))) //normalizedTime: 范围0 -- 1, 0是动作开始,1是动作结束
|
||||||
|
{
|
||||||
|
animator.SetInteger(clipName, 0); //播放完成后回到待机动画
|
||||||
|
isOver = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Debug.Log($"End Play {clipName} Clip");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 80132bbc4b4144869c97bd3fbde4f8c3
|
||||||
|
timeCreated: 1694529195
|
|
@ -0,0 +1,10 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace UnityTest.ZXL
|
||||||
|
{
|
||||||
|
public class DialogueAsset : ScriptableObject
|
||||||
|
{
|
||||||
|
public List<DialogueData> datas;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 08508fc4ecdb4237ab71fcfd556138fb
|
||||||
|
timeCreated: 1694531514
|
|
@ -0,0 +1,22 @@
|
||||||
|
using Sirenix.OdinInspector;
|
||||||
|
|
||||||
|
namespace UnityTest.ZXL
|
||||||
|
{
|
||||||
|
[System.Serializable]
|
||||||
|
public struct DialogueData
|
||||||
|
{
|
||||||
|
[ShowInInspector] [ReadOnly] private int index;
|
||||||
|
public DialogueType dialogueType;
|
||||||
|
public string content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum DialogueType
|
||||||
|
{
|
||||||
|
学校实验室管理处负责老师K,
|
||||||
|
学院安全总负责人H,
|
||||||
|
学院应急处置小组负责人J,
|
||||||
|
火警119,
|
||||||
|
实验负责老师F,
|
||||||
|
实验组安全负责人同学G,
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3637711671e14da7a94c7d2a75f66d3a
|
||||||
|
timeCreated: 1694529366
|
|
@ -0,0 +1,7 @@
|
||||||
|
namespace UnityTest.ZXL
|
||||||
|
{
|
||||||
|
public static class EditorHelper
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c0e6566bf1c7451a9e8b1502699e2175
|
||||||
|
timeCreated: 1694529212
|
|
@ -0,0 +1,24 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Sirenix.OdinInspector;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace UnityTest.ZXL
|
||||||
|
{
|
||||||
|
public class Test : SerializedMonoBehaviour
|
||||||
|
{
|
||||||
|
[FolderPath] public string folderPath;
|
||||||
|
public string assetName;
|
||||||
|
|
||||||
|
[Button]
|
||||||
|
void AA()
|
||||||
|
{
|
||||||
|
string path = $"{folderPath}/{assetName}.asset";
|
||||||
|
|
||||||
|
DialogueAsset dialogueAsset = ScriptableObject.CreateInstance<DialogueAsset>();
|
||||||
|
dialogueAsset.datas = new List<DialogueData>();
|
||||||
|
|
||||||
|
AssetDatabase.CreateAsset(dialogueAsset, path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 14ba04d6aa1740c49f37acc87e4c1c9e
|
||||||
|
timeCreated: 1694529316
|
|
@ -188,7 +188,7 @@ QualitySettings:
|
||||||
excludedTargetPlatforms: []
|
excludedTargetPlatforms: []
|
||||||
- serializedVersion: 2
|
- serializedVersion: 2
|
||||||
name: Ultra
|
name: Ultra
|
||||||
pixelLightCount: 4
|
pixelLightCount: 0
|
||||||
shadows: 2
|
shadows: 2
|
||||||
shadowResolution: 2
|
shadowResolution: 2
|
||||||
shadowProjection: 1
|
shadowProjection: 1
|
||||||
|
|
Loading…
Reference in New Issue