mirror of
https://github.com/ConjureETS/VZ.git
synced 2026-03-26 03:11:16 +00:00
add basic camera transition between squads
for now, the cameras have a reference to the squads they track, and check for player inputs to know when it needs to transition to another squad. This will be fixed with the GameController/PlayerController.
This commit is contained in:
parent
c23edfae6b
commit
07af87e036
115
Assets/Prefabs/Camera1.prefab
Normal file
115
Assets/Prefabs/Camera1.prefab
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &143704
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 433270}
|
||||||
|
- 20: {fileID: 2091256}
|
||||||
|
- 92: {fileID: 9205008}
|
||||||
|
- 124: {fileID: 12432070}
|
||||||
|
- 81: {fileID: 8188644}
|
||||||
|
- 114: {fileID: 11404586}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Camera1
|
||||||
|
m_TagString: MainCamera
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &433270
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 143704}
|
||||||
|
m_LocalRotation: {x: .608761489, y: 0, z: 0, w: .793353319}
|
||||||
|
m_LocalPosition: {x: 0, y: 24.5100002, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!20 &2091256
|
||||||
|
Camera:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 143704}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ClearFlags: 1
|
||||||
|
m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438}
|
||||||
|
m_NormalizedViewPortRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: .5
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
near clip plane: .300000012
|
||||||
|
far clip plane: 1000
|
||||||
|
field of view: 60
|
||||||
|
orthographic: 0
|
||||||
|
orthographic size: 5
|
||||||
|
m_Depth: -1
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingPath: -1
|
||||||
|
m_TargetTexture: {fileID: 0}
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_HDR: 0
|
||||||
|
m_OcclusionCulling: 1
|
||||||
|
m_StereoConvergence: 10
|
||||||
|
m_StereoSeparation: .0219999999
|
||||||
|
--- !u!81 &8188644
|
||||||
|
AudioListener:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 143704}
|
||||||
|
m_Enabled: 0
|
||||||
|
--- !u!92 &9205008
|
||||||
|
Behaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 143704}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!114 &11404586
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 143704}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: ae1349c2c40a05449b456e20d48361aa, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
squads:
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
player: 0
|
||||||
|
transitionDuration: .100000001
|
||||||
|
--- !u!124 &12432070
|
||||||
|
Behaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 143704}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 143704}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
8
Assets/Prefabs/Camera1.prefab.meta
Normal file
8
Assets/Prefabs/Camera1.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fc4d7bcae8bff4b4b8fc370f9033112f
|
||||||
|
timeCreated: 1439498585
|
||||||
|
licenseType: Free
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
115
Assets/Prefabs/Camera2.prefab
Normal file
115
Assets/Prefabs/Camera2.prefab
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &127778
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 406792}
|
||||||
|
- 20: {fileID: 2094966}
|
||||||
|
- 92: {fileID: 9288498}
|
||||||
|
- 124: {fileID: 12404998}
|
||||||
|
- 81: {fileID: 8154128}
|
||||||
|
- 114: {fileID: 11405364}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Camera2
|
||||||
|
m_TagString: MainCamera
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &406792
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 127778}
|
||||||
|
m_LocalRotation: {x: .608761489, y: 0, z: 0, w: .793353319}
|
||||||
|
m_LocalPosition: {x: 0, y: 24.5100002, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!20 &2094966
|
||||||
|
Camera:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 127778}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ClearFlags: 1
|
||||||
|
m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438}
|
||||||
|
m_NormalizedViewPortRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: -.5
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
near clip plane: .300000012
|
||||||
|
far clip plane: 1000
|
||||||
|
field of view: 60
|
||||||
|
orthographic: 0
|
||||||
|
orthographic size: 5
|
||||||
|
m_Depth: -1
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingPath: -1
|
||||||
|
m_TargetTexture: {fileID: 0}
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_HDR: 0
|
||||||
|
m_OcclusionCulling: 1
|
||||||
|
m_StereoConvergence: 10
|
||||||
|
m_StereoSeparation: .0219999999
|
||||||
|
--- !u!81 &8154128
|
||||||
|
AudioListener:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 127778}
|
||||||
|
m_Enabled: 0
|
||||||
|
--- !u!92 &9288498
|
||||||
|
Behaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 127778}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!114 &11405364
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 127778}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: ae1349c2c40a05449b456e20d48361aa, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
squads:
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
player: 1
|
||||||
|
transitionDuration: .100000001
|
||||||
|
--- !u!124 &12404998
|
||||||
|
Behaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 127778}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 127778}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
8
Assets/Prefabs/Camera2.prefab.meta
Normal file
8
Assets/Prefabs/Camera2.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0264002d3ec9fe844a6e5bd1d48ad2c6
|
||||||
|
timeCreated: 1439498615
|
||||||
|
licenseType: Free
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -87,90 +87,146 @@ NavMeshSettings:
|
|||||||
cellSize: .166666672
|
cellSize: .166666672
|
||||||
manualCellSize: 0
|
manualCellSize: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
--- !u!1 &777743501
|
--- !u!1001 &79076739
|
||||||
GameObject:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 777743506}
|
|
||||||
- 20: {fileID: 777743505}
|
|
||||||
- 92: {fileID: 777743504}
|
|
||||||
- 124: {fileID: 777743503}
|
|
||||||
- 81: {fileID: 777743502}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Main Camera
|
|
||||||
m_TagString: MainCamera
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!81 &777743502
|
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 777743501}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!124 &777743503
|
|
||||||
Behaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 777743501}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!92 &777743504
|
|
||||||
Behaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 777743501}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &777743505
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 777743501}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_ClearFlags: 1
|
m_Modification:
|
||||||
m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438}
|
m_TransformParent: {fileID: 0}
|
||||||
m_NormalizedViewPortRect:
|
m_Modifications:
|
||||||
serializedVersion: 2
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
x: 0
|
propertyPath: m_LocalPosition.x
|
||||||
y: 0
|
value: 0
|
||||||
width: 1
|
objectReference: {fileID: 0}
|
||||||
height: 1
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
near clip plane: .300000012
|
propertyPath: m_LocalPosition.y
|
||||||
far clip plane: 1000
|
value: 0
|
||||||
field of view: 60
|
objectReference: {fileID: 0}
|
||||||
orthographic: 0
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
orthographic size: 5
|
propertyPath: m_LocalPosition.z
|
||||||
m_Depth: -1
|
value: 8.43000031
|
||||||
m_CullingMask:
|
objectReference: {fileID: 0}
|
||||||
serializedVersion: 2
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
m_Bits: 4294967295
|
propertyPath: m_LocalRotation.x
|
||||||
m_RenderingPath: -1
|
value: 0
|
||||||
m_TargetTexture: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_TargetDisplay: 0
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
m_HDR: 0
|
propertyPath: m_LocalRotation.y
|
||||||
m_OcclusionCulling: 1
|
value: 0
|
||||||
m_StereoConvergence: 10
|
objectReference: {fileID: 0}
|
||||||
m_StereoSeparation: .0219999999
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
--- !u!4 &777743506
|
propertyPath: m_LocalRotation.z
|
||||||
Transform:
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 22.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -34.5999985
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 143762, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: ZombieSquad2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 196328, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Zombie1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 25.3999996
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 33.2000008
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1 &79076740
|
||||||
|
GameObject:
|
||||||
|
m_PrefabParentObject: {fileID: 196328, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 79076739}
|
||||||
|
--- !u!1001 &377386686
|
||||||
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_PrefabParentObject: {fileID: 0}
|
serializedVersion: 2
|
||||||
m_PrefabInternal: {fileID: 0}
|
m_Modification:
|
||||||
m_GameObject: {fileID: 777743501}
|
m_TransformParent: {fileID: 0}
|
||||||
m_LocalRotation: {x: .608761489, y: 0, z: 0, w: .793353319}
|
m_Modifications:
|
||||||
m_LocalPosition: {x: 0, y: 24.5100002, z: -5.07000017}
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
propertyPath: m_LocalPosition.x
|
||||||
m_Children: []
|
value: 0
|
||||||
m_Father: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RootOrder: 2
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 24.5100002
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: .608761489
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: .793353319
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 406792, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 7
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11405364, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: squads.Array.data[0]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 79076740}
|
||||||
|
- target: {fileID: 11405364, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: squads.Array.data[1]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 694353572}
|
||||||
|
- target: {fileID: 11405364, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
propertyPath: squads.Array.data[2]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2069028068}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: 0264002d3ec9fe844a6e5bd1d48ad2c6, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1 &694353572
|
||||||
|
GameObject:
|
||||||
|
m_PrefabParentObject: {fileID: 196328, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 1176908819}
|
||||||
--- !u!1 &844786940
|
--- !u!1 &844786940
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -243,7 +299,93 @@ Transform:
|
|||||||
m_LocalScale: {x: 10, y: 1, z: 10}
|
m_LocalScale: {x: 10, y: 1, z: 10}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 4
|
m_RootOrder: 9
|
||||||
|
--- !u!1 &1054614093
|
||||||
|
GameObject:
|
||||||
|
m_PrefabParentObject: {fileID: 159974, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 1592215893}
|
||||||
|
--- !u!1001 &1104634410
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 9.38000011
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 7.88000011
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 23.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -13.6000004
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 187446, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: VampireSquad2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 159974, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Vampire1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 21.3600006
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1 &1104634411
|
||||||
|
GameObject:
|
||||||
|
m_PrefabParentObject: {fileID: 159974, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 1104634410}
|
||||||
--- !u!1001 &1176908819
|
--- !u!1001 &1176908819
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -293,11 +435,171 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: -14.1000004
|
value: -15.8199997
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 143762, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: ZombieSquad1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 196328, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Zombie2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -16.7000008
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 26
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &1421464866
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -19.1000004
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 24.5100002
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 3.72999954
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: .608761489
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: .793353319
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 433270, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11404586, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: squads.Array.data[0]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 1104634411}
|
||||||
|
- target: {fileID: 11404586, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: squads.Array.data[1]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 1891186858}
|
||||||
|
- target: {fileID: 11404586, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
propertyPath: squads.Array.data[2]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 1054614093}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: fc4d7bcae8bff4b4b8fc370f9033112f, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &1592215893
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 9.38000011
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 7.88000011
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 459640, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 8.72999954
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 14.71
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 187446, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: VampireSquad3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 159974, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Vampire3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -20.3700008
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
--- !u!1 &1873665270
|
--- !u!1 &1873665270
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -357,105 +659,15 @@ Transform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 3
|
m_RootOrder: 8
|
||||||
--- !u!1 &1985965385
|
--- !u!1 &1891186858
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_PrefabParentObject: {fileID: 159974, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
m_PrefabParentObject: {fileID: 0}
|
m_PrefabInternal: {fileID: 2086876520}
|
||||||
m_PrefabInternal: {fileID: 0}
|
--- !u!1 &2069028068
|
||||||
serializedVersion: 4
|
GameObject:
|
||||||
m_Component:
|
m_PrefabParentObject: {fileID: 196328, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
- 4: {fileID: 1985965391}
|
m_PrefabInternal: {fileID: 2108203658}
|
||||||
- 33: {fileID: 1985965390}
|
|
||||||
- 65: {fileID: 1985965389}
|
|
||||||
- 23: {fileID: 1985965388}
|
|
||||||
- 135: {fileID: 1985965387}
|
|
||||||
- 114: {fileID: 1985965386}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Human
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &1985965386
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1985965385}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 8963fb1de18300245b6eb21674860cca, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!135 &1985965387
|
|
||||||
SphereCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1985965385}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 1
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Radius: 7.73000002
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!23 &1985965388
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1985965385}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_SubsetIndices:
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_UseLightProbes: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_PreserveUVs: 1
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_AutoUVMaxDistance: .5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!65 &1985965389
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1985965385}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Size: {x: 1, y: 1, z: 1}
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &1985965390
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1985965385}
|
|
||||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &1985965391
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1985965385}
|
|
||||||
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_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 5
|
|
||||||
--- !u!1001 &2086876520
|
--- !u!1001 &2086876520
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -497,7 +709,7 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 1
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
propertyPath: m_LocalPosition.y
|
propertyPath: m_LocalPosition.y
|
||||||
@ -505,12 +717,110 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 8.72999954
|
value: 8.69999981
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
- target: {fileID: 468564, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: 14.71
|
value: 31.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 187446, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: VampireSquad1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 159974, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Vampire2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 12.7200003
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421072, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 7.53000021
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: 55aad163f90cc4e40b686a69ba29569d, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &2108203658
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 8.43000031
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417256, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -38.2999992
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 143762, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: ZombieSquad3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 430604, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 196328, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Zombie3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 417792, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: 8d6d640df84c10549b99d9ccf6b349d9, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
|||||||
81
Assets/Scripts/SquadCamera.cs
Normal file
81
Assets/Scripts/SquadCamera.cs
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class SquadCamera : MonoBehaviour {
|
||||||
|
|
||||||
|
public GameObject[] squads;
|
||||||
|
private GameObject target;
|
||||||
|
public enum Player { Player1, Player2 };
|
||||||
|
public Player player;
|
||||||
|
|
||||||
|
private float y; // store the height value since it will never change
|
||||||
|
|
||||||
|
|
||||||
|
public float transitionDuration = 2.5f;
|
||||||
|
|
||||||
|
|
||||||
|
// Use this for initialization
|
||||||
|
void Start () {
|
||||||
|
this.target = squads[0];
|
||||||
|
|
||||||
|
this.transform.position= new Vector3(
|
||||||
|
target.gameObject.transform.position.x,
|
||||||
|
this.transform.position.y,
|
||||||
|
target.gameObject.transform.position.z);
|
||||||
|
|
||||||
|
this.y = this.transform.position.y;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update () {
|
||||||
|
|
||||||
|
Vector3 previousTarget = target.transform.position;
|
||||||
|
|
||||||
|
|
||||||
|
if(Input.GetAxisRaw("Opt1-1") == 1f){
|
||||||
|
target = squads[0];
|
||||||
|
}
|
||||||
|
else if (Input.GetAxisRaw("Opt2-1") == 1f) {
|
||||||
|
|
||||||
|
target = squads[1];
|
||||||
|
}
|
||||||
|
else if (Input.GetAxisRaw("Opt3-1") == 1f) {
|
||||||
|
target = squads[2];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (!previousTarget.Equals(target.transform.position)) {
|
||||||
|
|
||||||
|
|
||||||
|
StartCoroutine(Transition());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
IEnumerator Transition() {
|
||||||
|
float t = 0.0f;
|
||||||
|
|
||||||
|
Vector3 startingPos = transform.position;
|
||||||
|
|
||||||
|
Vector3 destination = new Vector3(
|
||||||
|
target.transform.position.x,
|
||||||
|
y,
|
||||||
|
target.transform.position.z
|
||||||
|
);
|
||||||
|
|
||||||
|
while (t < 1.0f) {
|
||||||
|
|
||||||
|
t += Time.deltaTime * (Time.timeScale / transitionDuration);
|
||||||
|
|
||||||
|
transform.position = Vector3.Lerp(startingPos, destination, t);
|
||||||
|
yield return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/SquadCamera.cs.meta
Normal file
12
Assets/Scripts/SquadCamera.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ae1349c2c40a05449b456e20d48361aa
|
||||||
|
timeCreated: 1439482691
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Loading…
x
Reference in New Issue
Block a user