To do: - Add a starting pen for an 8-player game. - Add more track sections. - Add weighting & more criteria for selection of track sections (to produce that escalating difficulty we want). - Potentially add the possibility for narrower track sections to spawn side by side.Josh_Dev_branch
@ -1,3 +1,3 @@ | |||
version https://git-lfs.github.com/spec/v1 | |||
oid sha256:4a765ffe299a21b208cc8d902f8805e773ad3d3dec4a378b9e95089f0d3e4a7f | |||
size 538 | |||
oid sha256:4117b175989a656bcab19a092766b204dfe62d93ef109b952ab744e5f60375ca | |||
size 705 |
@ -0,0 +1,8 @@ | |||
fileFormatVersion: 2 | |||
guid: 871feccb4f11a9949aa26e469d7bcbbd | |||
folderAsset: yes | |||
DefaultImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||
version https://git-lfs.github.com/spec/v1 | |||
oid sha256:0b856f73309ed68add224a7de7995afae4bbc0b4d5f37f937d8edf2a00f0c738 | |||
size 834 |
@ -0,0 +1,8 @@ | |||
fileFormatVersion: 2 | |||
guid: f3a2b30011e8d0941b970de817eead58 | |||
NativeFormatImporter: | |||
externalObjects: {} | |||
mainObjectFileID: 11400000 | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -1,3 +1,3 @@ | |||
version https://git-lfs.github.com/spec/v1 | |||
oid sha256:0fda289270a49936ec0e8b8c706af5bc5925fb98f79137721d778eb7d22bc322 | |||
oid sha256:5f73c2a07d612597ea3e0b6f6185f8363e0541d70dfc9dfd882afbc7a837b376 | |||
size 484 |
@ -0,0 +1,248 @@ | |||
%YAML 1.1 | |||
%TAG !u! tag:unity3d.com,2011: | |||
--- !u!1 &298388790206689804 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 427276821} | |||
- component: {fileID: 7463042348434612889} | |||
- component: {fileID: 4511704112427984177} | |||
- component: {fileID: 1116424950064336207} | |||
- component: {fileID: 7954546918817141591} | |||
m_Layer: 0 | |||
m_Name: Cube_GroundWGrass | |||
m_TagString: Coloured | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 4294967295 | |||
m_IsActive: 1 | |||
--- !u!4 &427276821 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 298388790206689804} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: 0, y: -0.5, z: 0} | |||
m_LocalScale: {x: 1, y: 1, z: 1} | |||
m_Children: | |||
- {fileID: 4721099953091283} | |||
- {fileID: 4721100105921117} | |||
m_Father: {fileID: 0} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &7463042348434612889 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 298388790206689804} | |||
m_Mesh: {fileID: 4300000, guid: d73f25ac0bcef5b469863e30ce33634b, type: 3} | |||
--- !u!23 &4511704112427984177 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 298388790206689804} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: a12203d8d2df33d4f814e1a381ba565f, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!65 &1116424950064336207 | |||
BoxCollider: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 298388790206689804} | |||
m_Material: {fileID: 0} | |||
m_IsTrigger: 0 | |||
m_Enabled: 1 | |||
serializedVersion: 2 | |||
m_Size: {x: 1, y: 1.0000005, z: 1} | |||
m_Center: {x: 0, y: 0, z: 0} | |||
--- !u!114 &7954546918817141591 | |||
MonoBehaviour: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 298388790206689804} | |||
m_Enabled: 1 | |||
m_EditorHideFlags: 0 | |||
m_Script: {fileID: 11500000, guid: 1a69d64be9f9e8543b4278d7f139f6f1, type: 3} | |||
m_Name: | |||
m_EditorClassIdentifier: | |||
VisualOffset: {x: 0, y: 0.5, z: 0} | |||
is_Walkable: 1 | |||
isWater: 0 | |||
isPit: 0 | |||
isSpawnable: 0 | |||
SpawnDirection: 2 | |||
--- !u!1001 &985787167 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 427276821} | |||
m_Modifications: | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_Name | |||
value: Cube_GroundU | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_IsActive | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: -1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
--- !u!4 &4721099953091283 stripped | |||
Transform: | |||
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, | |||
type: 3} | |||
m_PrefabInstance: {fileID: 985787167} | |||
m_PrefabAsset: {fileID: 0} | |||
--- !u!1001 &1101392785 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 427276821} | |||
m_Modifications: | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_Name | |||
value: Cube_GroundL | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_IsActive | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: -2 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
--- !u!4 &4721100105921117 stripped | |||
Transform: | |||
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, | |||
type: 3} | |||
m_PrefabInstance: {fileID: 1101392785} | |||
m_PrefabAsset: {fileID: 0} |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: bb9ffc1c11072174694465b720cdb319 | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,332 @@ | |||
%YAML 1.1 | |||
%TAG !u! tag:unity3d.com,2011: | |||
--- !u!1 &4380075252948432824 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 3615111875144653457} | |||
- component: {fileID: 5468256449416294908} | |||
- component: {fileID: 4411098820538280616} | |||
- component: {fileID: 5320983720737496023} | |||
- component: {fileID: 1547357862911686826} | |||
m_Layer: 0 | |||
m_Name: Cube_GroundWall 1 | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 4294967295 | |||
m_IsActive: 1 | |||
--- !u!4 &3615111875144653457 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 4380075252948432824} | |||
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: | |||
- {fileID: 4721099343502762} | |||
- {fileID: 4721100610124675} | |||
- {fileID: 4721099741402202} | |||
m_Father: {fileID: 0} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &5468256449416294908 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 4380075252948432824} | |||
m_Mesh: {fileID: 4300000, guid: d73f25ac0bcef5b469863e30ce33634b, type: 3} | |||
--- !u!23 &4411098820538280616 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 4380075252948432824} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: a0152f8bfbc0ba44082f0499c6b65464, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!65 &5320983720737496023 | |||
BoxCollider: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 4380075252948432824} | |||
m_Material: {fileID: 0} | |||
m_IsTrigger: 0 | |||
m_Enabled: 1 | |||
serializedVersion: 2 | |||
m_Size: {x: 1, y: 1.0000005, z: 1} | |||
m_Center: {x: 0, y: 0, z: 0} | |||
--- !u!114 &1547357862911686826 | |||
MonoBehaviour: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 4380075252948432824} | |||
m_Enabled: 1 | |||
m_EditorHideFlags: 0 | |||
m_Script: {fileID: 11500000, guid: 1a69d64be9f9e8543b4278d7f139f6f1, type: 3} | |||
m_Name: | |||
m_EditorClassIdentifier: | |||
VisualOffset: {x: 0, y: 0.5, z: 0} | |||
is_Walkable: 0 | |||
isWater: 0 | |||
isPit: 0 | |||
isSpawnable: 0 | |||
SpawnDirection: 2 | |||
--- !u!1001 &506938470 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 3615111875144653457} | |||
m_Modifications: | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.y | |||
value: -1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_RootOrder | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4380075252948432824} | |||
propertyPath: m_Name | |||
value: Cube_GroundWall1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4380075252948432824} | |||
propertyPath: m_IsActive | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
--- !u!4 &4721099343502762 stripped | |||
Transform: | |||
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, | |||
type: 3} | |||
m_PrefabInstance: {fileID: 506938470} | |||
m_PrefabAsset: {fileID: 0} | |||
--- !u!1001 &913296790 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 3615111875144653457} | |||
m_Modifications: | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 2 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: -2 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.y | |||
value: -3 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_RootOrder | |||
value: 2 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4380075252948432824} | |||
propertyPath: m_Name | |||
value: Cube_GroundWall3 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4380075252948432824} | |||
propertyPath: m_IsActive | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
--- !u!4 &4721099741402202 stripped | |||
Transform: | |||
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, | |||
type: 3} | |||
m_PrefabInstance: {fileID: 913296790} | |||
m_PrefabAsset: {fileID: 0} | |||
--- !u!1001 &1672897103 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 3615111875144653457} | |||
m_Modifications: | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: -1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.y | |||
value: -2 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_RootOrder | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 3615111875144653457} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4380075252948432824} | |||
propertyPath: m_Name | |||
value: Cube_GroundWall2 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4380075252948432824} | |||
propertyPath: m_IsActive | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
--- !u!4 &4721100610124675 stripped | |||
Transform: | |||
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, | |||
type: 3} | |||
m_PrefabInstance: {fileID: 1672897103} | |||
m_PrefabAsset: {fileID: 0} |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: 125772d94eff8224a8f3a327ec632883 | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,426 @@ | |||
%YAML 1.1 | |||
%TAG !u! tag:unity3d.com,2011: | |||
--- !u!1 &530235143574139110 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 1828716198829146157} | |||
m_Layer: 0 | |||
m_Name: LilyPad | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &1828716198829146157 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 530235143574139110} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: 0, y: -1, z: 0} | |||
m_LocalScale: {x: 1, y: 1, z: 1} | |||
m_Children: | |||
- {fileID: 8106369753450024413} | |||
- {fileID: 7845928462204854316} | |||
- {fileID: 24989262969370864} | |||
m_Father: {fileID: 47964057} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!1 &671413771732590573 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 24989262969370864} | |||
- component: {fileID: 3248327937091408180} | |||
- component: {fileID: 2480900863621540341} | |||
m_Layer: 0 | |||
m_Name: Flower4_2 (2) | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &24989262969370864 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 671413771732590573} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: 0, y: 1.005, z: 0} | |||
m_LocalScale: {x: 0.6, y: 0.1, z: 0.6} | |||
m_Children: [] | |||
m_Father: {fileID: 1828716198829146157} | |||
m_RootOrder: 2 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &3248327937091408180 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 671413771732590573} | |||
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3} | |||
--- !u!23 &2480900863621540341 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 671413771732590573} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!1 &1999421548732318256 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 47964057} | |||
- component: {fileID: 177033255137993395} | |||
- component: {fileID: 6650162365135615188} | |||
- component: {fileID: 5031374599848591737} | |||
m_Layer: 0 | |||
m_Name: Cube_Water | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &47964057 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 1999421548732318256} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: -12, y: -0.5, z: 1.9999998} | |||
m_LocalScale: {x: 1, y: 1, z: 1} | |||
m_Children: | |||
- {fileID: 1828716198829146157} | |||
- {fileID: 3495549618656143551} | |||
m_Father: {fileID: 0} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!114 &177033255137993395 | |||
MonoBehaviour: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 1999421548732318256} | |||
m_Enabled: 1 | |||
m_EditorHideFlags: 0 | |||
m_Script: {fileID: 11500000, guid: 13e596b7661bb0b43b4ef2f0432f5966, type: 3} | |||
m_Name: | |||
m_EditorClassIdentifier: | |||
clientData: {fileID: 11400000, guid: ded0b21c3ef1e7049a1128c12e9401fe, type: 2} | |||
Names: [] | |||
lilypad: {fileID: 530235143574139110} | |||
triggeranimate: 0 | |||
triggeranimate1: 0 | |||
--- !u!65 &6650162365135615188 | |||
BoxCollider: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 1999421548732318256} | |||
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!114 &5031374599848591737 | |||
MonoBehaviour: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 1999421548732318256} | |||
m_Enabled: 1 | |||
m_EditorHideFlags: 0 | |||
m_Script: {fileID: 11500000, guid: 1a69d64be9f9e8543b4278d7f139f6f1, type: 3} | |||
m_Name: | |||
m_EditorClassIdentifier: | |||
VisualOffset: {x: 0, y: 0, z: 0} | |||
is_Walkable: 1 | |||
isWater: 1 | |||
isPit: 0 | |||
isSpawnable: 0 | |||
SpawnDirection: 2 | |||
--- !u!1 &7281521922483143231 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 3495549618656143551} | |||
- component: {fileID: 3318533407707509065} | |||
- component: {fileID: 7563148306655853409} | |||
m_Layer: 0 | |||
m_Name: Cube_Water | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 4294967295 | |||
m_IsActive: 1 | |||
--- !u!4 &3495549618656143551 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7281521922483143231} | |||
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: 47964057} | |||
m_RootOrder: 1 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &3318533407707509065 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7281521922483143231} | |||
m_Mesh: {fileID: 4300000, guid: d73f25ac0bcef5b469863e30ce33634b, type: 3} | |||
--- !u!23 &7563148306655853409 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7281521922483143231} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: 5e101a1af208737469b8482764baf697, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!1 &7858000249164259621 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 7845928462204854316} | |||
- component: {fileID: 7970735141334953310} | |||
- component: {fileID: 2832984628613383620} | |||
m_Layer: 0 | |||
m_Name: Flower4_2 (1) | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &7845928462204854316 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7858000249164259621} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: 0, y: 0.93, z: 0} | |||
m_LocalScale: {x: 1.1, y: 1.1, z: 1.1} | |||
m_Children: [] | |||
m_Father: {fileID: 1828716198829146157} | |||
m_RootOrder: 1 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &7970735141334953310 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7858000249164259621} | |||
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3} | |||
--- !u!23 &2832984628613383620 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7858000249164259621} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!1 &8864229519112577870 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 8106369753450024413} | |||
- component: {fileID: 4543528182562699443} | |||
- component: {fileID: 4085195132855863162} | |||
m_Layer: 0 | |||
m_Name: Flower4_2 | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &8106369753450024413 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 8864229519112577870} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: 0, y: 0.931, z: 0} | |||
m_LocalScale: {x: 2, y: 1, z: 2} | |||
m_Children: [] | |||
m_Father: {fileID: 1828716198829146157} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &4543528182562699443 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 8864229519112577870} | |||
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3} | |||
--- !u!23 &4085195132855863162 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 8864229519112577870} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: 3c1f892a78332a64481617382603dd10 | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||
fileFormatVersion: 2 | |||
guid: 02cb3bc94f6ea564282cfab54ac02081 | |||
folderAsset: yes | |||
DefaultImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: afe780b4be941d4458dbc0f21af47c1c | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: 4efb1823a27421f4babd161f2ed095da | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: c5b330c0284d525488f03d213c7875aa | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: f92f86a4898cf314c9672cf6d58320aa | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,345 @@ | |||
%YAML 1.1 | |||
%TAG !u! tag:unity3d.com,2011: | |||
--- !u!1 &2430657395993931422 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 437627090} | |||
- component: {fileID: 859222414598846322} | |||
m_Layer: 0 | |||
m_Name: Conveyor Belt with Cube | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &437627090 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 2430657395993931422} | |||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | |||
m_LocalPosition: {x: 0, y: 1, z: 0} | |||
m_LocalScale: {x: 1, y: 1, z: 1} | |||
m_Children: | |||
- {fileID: 7287252781365539386} | |||
- {fileID: 4490968977809283} | |||
m_Father: {fileID: 0} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!114 &859222414598846322 | |||
MonoBehaviour: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 2430657395993931422} | |||
m_Enabled: 1 | |||
m_EditorHideFlags: 0 | |||
m_Script: {fileID: 11500000, guid: 6692f0c965cb4fa41b616ba0991653a3, type: 3} | |||
m_Name: | |||
m_EditorClassIdentifier: | |||
clientData: {fileID: 11400000, guid: ded0b21c3ef1e7049a1128c12e9401fe, type: 2} | |||
Names: [] | |||
left: 0 | |||
forward: 0 | |||
triggeranimate: 0 | |||
--- !u!1 &3424486742927057916 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 7287252781365539386} | |||
- component: {fileID: 1376194202737726602} | |||
- component: {fileID: 7909594284434926968} | |||
- component: {fileID: 1386403355058630248} | |||
m_Layer: 0 | |||
m_Name: Plane | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &7287252781365539386 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 3424486742927057916} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: 0, y: 0.51, z: 0} | |||
m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} | |||
m_Children: [] | |||
m_Father: {fileID: 437627090} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &1376194202737726602 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 3424486742927057916} | |||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} | |||
--- !u!23 &7909594284434926968 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 3424486742927057916} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: d243897630e0747498d8b617f60dc26d, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!64 &1386403355058630248 | |||
MeshCollider: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 3424486742927057916} | |||
m_Material: {fileID: 0} | |||
m_IsTrigger: 0 | |||
m_Enabled: 1 | |||
serializedVersion: 3 | |||
m_Convex: 0 | |||
m_CookingOptions: 14 | |||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} | |||
--- !u!1001 &589977586 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 4490968977809283} | |||
m_Modifications: | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_Name | |||
value: Cube_GroundL | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_IsActive | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: -2 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
--- !u!1001 &816154313 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 4490968977809283} | |||
m_Modifications: | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_Name | |||
value: Cube_GroundU | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_IsActive | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: -1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3} | |||
--- !u!1001 &1100376119 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 437627090} | |||
m_Modifications: | |||
- target: {fileID: 1141756196039588, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_Name | |||
value: Cube_GroundWGrass | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 1141756196039588, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_TagString | |||
value: Coloured | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: -0.5 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalScale.x | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalScale.y | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
propertyPath: m_LocalScale.z | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: d7698c69246c64044ab2a94628bf0291, type: 3} | |||
--- !u!4 &4490968977809283 stripped | |||
Transform: | |||
m_CorrespondingSourceObject: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, | |||
type: 3} | |||
m_PrefabInstance: {fileID: 1100376119} | |||
m_PrefabAsset: {fileID: 0} |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: a0c1c619e4e891142a5144401ec595be | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,495 @@ | |||
%YAML 1.1 | |||
%TAG !u! tag:unity3d.com,2011: | |||
--- !u!1 &6179448856766749154 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 6179448856766749153} | |||
- component: {fileID: 8314131447071905225} | |||
m_Layer: 0 | |||
m_Name: ShootingCannon + Block | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &6179448856766749153 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6179448856766749154} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: -0.5, y: -0.5, z: -0.5} | |||
m_LocalScale: {x: 1, y: 1, z: 1} | |||
m_Children: | |||
- {fileID: 6183695074135418386} | |||
- {fileID: 6183622079954844821} | |||
- {fileID: 7559508468311915785} | |||
- {fileID: 4546202105378142430} | |||
m_Father: {fileID: 0} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!114 &8314131447071905225 | |||
MonoBehaviour: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6179448856766749154} | |||
m_Enabled: 1 | |||
m_EditorHideFlags: 0 | |||
m_Script: {fileID: 11500000, guid: 44366bd8a25270844bdd9a5db9f2b0e0, type: 3} | |||
m_Name: | |||
m_EditorClassIdentifier: | |||
shootingRight: 1 | |||
triggeranimate: 0 | |||
shootingObject: {fileID: 3506936643819969965, guid: e8cf547bc36bd094f860f652fbe08047, | |||
type: 3} | |||
spawnLocation: {fileID: 6183695074135418386} | |||
counter: {fileID: 7559508468311915784} | |||
countdowntimer: 3 | |||
--- !u!1 &6180422965807075217 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 6183622079954844821} | |||
- component: {fileID: 6176648320464007577} | |||
- component: {fileID: 6166428682762043949} | |||
m_Layer: 0 | |||
m_Name: Canon | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!4 &6183622079954844821 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6180422965807075217} | |||
m_LocalRotation: {x: 0.17364816, y: -0, z: -0, w: 0.9848078} | |||
m_LocalPosition: {x: 0, y: 1, z: -0.18200016} | |||
m_LocalScale: {x: 1, y: 1, z: 1} | |||
m_Children: [] | |||
m_Father: {fileID: 6179448856766749153} | |||
m_RootOrder: 1 | |||
m_LocalEulerAnglesHint: {x: 20, y: 0, z: 0} | |||
--- !u!33 &6176648320464007577 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6180422965807075217} | |||
m_Mesh: {fileID: 4300000, guid: 11fb0b0b08e257f45b2947a4e67e3f39, type: 3} | |||
--- !u!23 &6166428682762043949 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6180422965807075217} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: 6e87d9ec395110b44a460dd506e7394a, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!1 &6180506142403350468 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 6183695074135418386} | |||
- component: {fileID: 6177211973616283382} | |||
- component: {fileID: 6167065627464661554} | |||
- component: {fileID: 280194889601264906} | |||
m_Layer: 0 | |||
m_Name: Cube_BalkHalf | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 4294967295 | |||
m_IsActive: 1 | |||
--- !u!4 &6183695074135418386 | |||
Transform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6180506142403350468} | |||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | |||
m_LocalPosition: {x: 0, y: 1.338, z: 0.25} | |||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} | |||
m_Children: [] | |||
m_Father: {fileID: 6179448856766749153} | |||
m_RootOrder: 0 | |||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |||
--- !u!33 &6177211973616283382 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6180506142403350468} | |||
m_Mesh: {fileID: 4300000, guid: 13520d5ed98fd144790b2d75ff70f874, type: 3} | |||
--- !u!23 &6167065627464661554 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6180506142403350468} | |||
m_Enabled: 1 | |||
m_CastShadows: 1 | |||
m_ReceiveShadows: 1 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2100000, guid: d2fc3dc38639be54089426d728d0b01b, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!65 &280194889601264906 | |||
BoxCollider: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 6180506142403350468} | |||
m_Material: {fileID: 0} | |||
m_IsTrigger: 0 | |||
m_Enabled: 1 | |||
serializedVersion: 2 | |||
m_Size: {x: 0.24999993, y: 0.2500002, z: 0.53749573} | |||
m_Center: {x: 0, y: 0, z: 0} | |||
--- !u!1 &7559508468311915786 | |||
GameObject: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
serializedVersion: 6 | |||
m_Component: | |||
- component: {fileID: 7559508468311915785} | |||
- component: {fileID: 7559508468311915789} | |||
- component: {fileID: 7559508468311915790} | |||
- component: {fileID: 7559508468311915791} | |||
- component: {fileID: 7559508468311915784} | |||
m_Layer: 0 | |||
m_Name: Countdown Timer | |||
m_TagString: Untagged | |||
m_Icon: {fileID: 0} | |||
m_NavMeshLayer: 0 | |||
m_StaticEditorFlags: 0 | |||
m_IsActive: 1 | |||
--- !u!224 &7559508468311915785 | |||
RectTransform: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7559508468311915786} | |||
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068} | |||
m_LocalPosition: {x: 0, y: 0, z: 0.134} | |||
m_LocalScale: {x: 1, y: 1, z: 1} | |||
m_Children: [] | |||
m_Father: {fileID: 6179448856766749153} | |||
m_RootOrder: 2 | |||
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0} | |||
m_AnchorMin: {x: 0.5, y: 0.5} | |||
m_AnchorMax: {x: 0.5, y: 0.5} | |||
m_AnchoredPosition: {x: 0.262, y: 1.321} | |||
m_SizeDelta: {x: 0.5, y: 0.5} | |||
m_Pivot: {x: 0.5, y: 0.5} | |||
--- !u!23 &7559508468311915789 | |||
MeshRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7559508468311915786} | |||
m_Enabled: 1 | |||
m_CastShadows: 0 | |||
m_ReceiveShadows: 0 | |||
m_DynamicOccludee: 1 | |||
m_MotionVectors: 1 | |||
m_LightProbeUsage: 1 | |||
m_ReflectionProbeUsage: 1 | |||
m_RenderingLayerMask: 1 | |||
m_RendererPriority: 0 | |||
m_Materials: | |||
- {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} | |||
m_StaticBatchInfo: | |||
firstSubMesh: 0 | |||
subMeshCount: 0 | |||
m_StaticBatchRoot: {fileID: 0} | |||
m_ProbeAnchor: {fileID: 0} | |||
m_LightProbeVolumeOverride: {fileID: 0} | |||
m_ScaleInLightmap: 1 | |||
m_PreserveUVs: 0 | |||
m_IgnoreNormalsForChartDetection: 0 | |||
m_ImportantGI: 0 | |||
m_StitchLightmapSeams: 0 | |||
m_SelectedEditorRenderState: 3 | |||
m_MinimumChartSize: 4 | |||
m_AutoUVMaxDistance: 0.5 | |||
m_AutoUVMaxAngle: 89 | |||
m_LightmapParameters: {fileID: 0} | |||
m_SortingLayerID: 0 | |||
m_SortingLayer: 0 | |||
m_SortingOrder: 0 | |||
--- !u!33 &7559508468311915790 | |||
MeshFilter: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7559508468311915786} | |||
m_Mesh: {fileID: 0} | |||
--- !u!222 &7559508468311915791 | |||
CanvasRenderer: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7559508468311915786} | |||
m_CullTransparentMesh: 0 | |||
--- !u!114 &7559508468311915784 | |||
MonoBehaviour: | |||
m_ObjectHideFlags: 0 | |||
m_CorrespondingSourceObject: {fileID: 0} | |||
m_PrefabInstance: {fileID: 0} | |||
m_PrefabAsset: {fileID: 0} | |||
m_GameObject: {fileID: 7559508468311915786} | |||
m_Enabled: 1 | |||
m_EditorHideFlags: 0 | |||
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} | |||
m_Name: | |||
m_EditorClassIdentifier: | |||
m_Material: {fileID: 0} | |||
m_Color: {r: 1, g: 1, b: 1, a: 1} | |||
m_RaycastTarget: 1 | |||
m_OnCullStateChanged: | |||
m_PersistentCalls: | |||
m_Calls: [] | |||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, | |||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null | |||
m_text: 5 | |||
m_isRightToLeft: 0 | |||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} | |||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} | |||
m_fontSharedMaterials: [] | |||
m_fontMaterial: {fileID: 0} | |||
m_fontMaterials: [] | |||
m_fontColor32: | |||
serializedVersion: 2 | |||
rgba: 4294967295 | |||
m_fontColor: {r: 1, g: 1, b: 1, a: 1} | |||
m_enableVertexGradient: 0 | |||
m_colorMode: 3 | |||
m_fontColorGradient: | |||
topLeft: {r: 1, g: 1, b: 1, a: 1} | |||
topRight: {r: 1, g: 1, b: 1, a: 1} | |||
bottomLeft: {r: 1, g: 1, b: 1, a: 1} | |||
bottomRight: {r: 1, g: 1, b: 1, a: 1} | |||
m_fontColorGradientPreset: {fileID: 0} | |||
m_spriteAsset: {fileID: 0} | |||
m_tintAllSprites: 0 | |||
m_overrideHtmlColors: 0 | |||
m_faceColor: | |||
serializedVersion: 2 | |||
rgba: 4294967295 | |||
m_outlineColor: | |||
serializedVersion: 2 | |||
rgba: 4278190080 | |||
m_fontSize: 3 | |||
m_fontSizeBase: 3 | |||
m_fontWeight: 400 | |||
m_enableAutoSizing: 0 | |||
m_fontSizeMin: 18 | |||
m_fontSizeMax: 72 | |||
m_fontStyle: 0 | |||
m_textAlignment: 514 | |||
m_isAlignmentEnumConverted: 1 | |||
m_characterSpacing: 0 | |||
m_wordSpacing: 0 | |||
m_lineSpacing: 0 | |||
m_lineSpacingMax: 0 | |||
m_paragraphSpacing: 0 | |||
m_charWidthMaxAdj: 0 | |||
m_enableWordWrapping: 1 | |||
m_wordWrappingRatios: 0.4 | |||
m_overflowMode: 0 | |||
m_firstOverflowCharacterIndex: -1 | |||
m_linkedTextComponent: {fileID: 0} | |||
m_isLinkedTextComponent: 0 | |||
m_isTextTruncated: 0 | |||
m_enableKerning: 1 | |||
m_enableExtraPadding: 0 | |||
checkPaddingRequired: 0 | |||
m_isRichText: 1 | |||
m_parseCtrlCharacters: 1 | |||
m_isOrthographic: 0 | |||
m_isCullingEnabled: 0 | |||
m_ignoreRectMaskCulling: 0 | |||
m_ignoreCulling: 1 | |||
m_horizontalMapping: 0 | |||
m_verticalMapping: 0 | |||
m_uvLineOffset: 0 | |||
m_geometrySortingOrder: 0 | |||
m_firstVisibleCharacter: 0 | |||
m_useMaxVisibleDescender: 1 | |||
m_pageToDisplay: 1 | |||
m_margin: {x: 0, y: 0, z: 0, w: 0} | |||
m_textInfo: | |||
textComponent: {fileID: 7559508468311915784} | |||
characterCount: 1 | |||
spriteCount: 0 | |||
spaceCount: 0 | |||
wordCount: 1 | |||
linkCount: 0 | |||
lineCount: 1 | |||
pageCount: 1 | |||
materialCount: 1 | |||
m_havePropertiesChanged: 0 | |||
m_isUsingLegacyAnimationComponent: 0 | |||
m_isVolumetricText: 0 | |||
m_spriteAnimator: {fileID: 0} | |||
m_isInputParsingRequired: 0 | |||
m_inputSource: 0 | |||
m_hasFontAssetChanged: 0 | |||
m_renderer: {fileID: 7559508468311915789} | |||
m_subTextObjects: | |||
- {fileID: 0} | |||
- {fileID: 0} | |||
- {fileID: 0} | |||
- {fileID: 0} | |||
- {fileID: 0} | |||
- {fileID: 0} | |||
- {fileID: 0} | |||
- {fileID: 0} | |||
m_maskType: 0 | |||
--- !u!1001 &4546202105798836939 | |||
PrefabInstance: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 2 | |||
m_Modification: | |||
m_TransformParent: {fileID: 6179448856766749153} | |||
m_Modifications: | |||
- target: {fileID: 298388790206689804, guid: bb9ffc1c11072174694465b720cdb319, | |||
type: 3} | |||
propertyPath: m_Name | |||
value: Cube_GroundWGrass | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalPosition.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalPosition.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalPosition.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalRotation.x | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalRotation.y | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalRotation.z | |||
value: -0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalRotation.w | |||
value: 1 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_RootOrder | |||
value: 3 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.x | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.y | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
propertyPath: m_LocalEulerAnglesHint.z | |||
value: 0 | |||
objectReference: {fileID: 0} | |||
m_RemovedComponents: [] | |||
m_SourcePrefab: {fileID: 100100000, guid: bb9ffc1c11072174694465b720cdb319, type: 3} | |||
--- !u!4 &4546202105378142430 stripped | |||
Transform: | |||
m_CorrespondingSourceObject: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, | |||
type: 3} | |||
m_PrefabInstance: {fileID: 4546202105798836939} | |||
m_PrefabAsset: {fileID: 0} |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: 72b0336b2f8509045b92eadaecbc885b | |||
PrefabImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,3 @@ | |||
version https://git-lfs.github.com/spec/v1 | |||
oid sha256:d5b17b077ec5bf78c41162b5e3c5024b0c8c06fc191232c67d00d4ec4a1de61f | |||
size 30956 |
@ -0,0 +1,7 @@ | |||
fileFormatVersion: 2 | |||
guid: 3e2c4bdfa02df644c8e12bdee0334145 | |||
DefaultImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -1,3 +1,3 @@ | |||
version https://git-lfs.github.com/spec/v1 | |||
oid sha256:ca249b9342dd6d663f6c8d0895426161e19f3cd8caaef902aa231cf4fa32aa33 | |||
size 46629 | |||
oid sha256:41504b94f956056ec1a07d3a60f25c9ae6fc6bddc8d60d7d614da1b396003576 | |||
size 46619 |
@ -0,0 +1,8 @@ | |||
fileFormatVersion: 2 | |||
guid: a3f303c1ca409224283f218c92e5ee0a | |||
folderAsset: yes | |||
DefaultImporter: | |||
externalObjects: {} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,227 @@ | |||
using System.Collections; | |||
using System.Collections.Generic; | |||
using UnityEngine; | |||
//public class MapManager : MonoBehaviour | |||
[CreateAssetMenu(menuName = "Major Project/Map Manager")] | |||
public class MapManager : ScriptableObject | |||
{ | |||
public GameObject spawn4; //The section to use as a spawn-point for games with 2-5 players | |||
public GameObject spawn8; //The section to use a spawn-point for games with 5-8 players | |||
//In 5-player games, we choose between them at random | |||
public List<MapSection> sections; //The list of sections to choose from after starting | |||
public int minConns = 2; //The minimum number of valid connections between two map sections for them to be allowed to link up | |||
public float xForward = 28.0f; //How far ahead of the camera's current position do we want to extend the track? | |||
public float xBack = -4.0f; //And how far behind the camera's position does a section need to fall before being deleted? | |||
public List<MapSection> activeSections; //The list of sections that have been placed on the map (and not removed) | |||
MapSection lastSection; //Which map-section was most recently added? | |||
float startX = -16.0f; //The x-position of the current start of the track | |||
float endX = -16.0f; //The x-position of the current end of the track | |||
// Start is called before the first frame update | |||
void Start() | |||
{ | |||
} | |||
public void init(int players) | |||
{ | |||
activeSections = new List<MapSection>(); | |||
if (players < 5) | |||
{ | |||
addSection(spawn4.GetComponent<MapSection>()); | |||
} | |||
else if (players > 5) | |||
{ | |||
addSection(spawn8.GetComponent<MapSection>()); | |||
} | |||
else | |||
{ | |||
if (Random.Range(0.0f, 1.0f) < 0.5f) | |||
{ | |||
addSection(spawn4.GetComponent<MapSection>()); | |||
} | |||
else | |||
{ | |||
addSection(spawn8.GetComponent<MapSection>()); | |||
} | |||
} | |||
checkForward(); | |||
} | |||
void chooseNextSection() | |||
{ | |||
//First, we determine which sections are valid | |||
List<MapSection> validSections = new List<MapSection>(); | |||
foreach (MapSection section in sections) | |||
{ | |||
if (checkSegments(section)) | |||
{ | |||
validSections.Add(section); //If a segment is a valid continuation of the current most-recent segment, add it to the list | |||
} | |||
} | |||
//Having generated our list, we choose a random segment from it | |||
/*foreach (MapSection section in validSections) | |||
{ | |||
Debug.Log("Valid section: " + section.name); | |||
}*/ | |||
Debug.Log("Choosing section"); | |||
MapSection nextSection = validSections[(int)Random.Range(0.0f, (float)validSections.Count)]; | |||
Debug.Log("Chosen section: " + nextSection.name); | |||
addSection(nextSection); | |||
} | |||
void addSection(MapSection section) | |||
{ | |||
//Instantiate new section at x = endX | |||
Vector3 pos = new Vector3(endX, 0.0f, 0.0f); | |||
GameObject newSection = (GameObject)Instantiate(section.gameObject, pos, Quaternion.identity); | |||
//GameObject.Instantiate(section.gameObject, pos, Quaternion.identity); | |||
MapSection newSectionScript = newSection.GetComponent<MapSection>(); | |||
newSectionScript.InitSection(activeSections.Count); | |||
newSection.name = newSectionScript.name; | |||
activeSections.Add(newSectionScript); | |||
lastSection = newSectionScript; | |||
endX += newSectionScript.length; | |||
} | |||
bool checkSegments(MapSection second) | |||
{ | |||
return checkSegments(this.lastSection, second); | |||
} | |||
bool checkSegments(MapSection first, MapSection second) | |||
{ | |||
int connections = 0; | |||
//Debug.Log("Checking sections: first = " + first.name + ", second = " + second.name); | |||
foreach (GameObject exit in first.exits) | |||
{ | |||
foreach (GameObject entry in second.entrances) | |||
{ | |||
/*Debug.Log("Checking connections: exit = " + exit.transform.localPosition.z + ", " + exit.transform.localPosition.x | |||
+ ", entry = " + entry.transform.localPosition.z + ", " + entry.transform.localPosition.x);*/ | |||
if (checkConnection(exit, entry)) | |||
{ | |||
connections++; | |||
} | |||
} | |||
} | |||
//Debug.Log("Connections = " + connections); | |||
if (connections >= minConns) | |||
{ | |||
//Debug.Log("Valid section!"); | |||
} | |||
else | |||
{ | |||
//Debug.Log("Invalid section!"); | |||
} | |||
return (connections >= minConns); | |||
} | |||
bool checkConnection(GameObject exit, GameObject entry) | |||
{ | |||
/*Debug.Log("Checking connections: exit = " + exit.transform.localPosition.z + ", " + exit.transform.localPosition.x | |||
+ ", entry = " + entry.transform.localPosition.z + ", " + entry.transform.localPosition.x);*/ | |||
//If the squares being checked don't line up, the connection is invalid | |||
if (exit.transform.localPosition.z != entry.transform.localPosition.z) | |||
{ | |||
//Debug.Log(exit.transform.localPosition.z + " != " + entry.transform.localPosition.z); | |||
return false; | |||
} | |||
//Debug.Log("Exit.is_Walkable = " + exit.GetComponent<Block>().is_Walkable + ", Entry.is_Walkable = " + entry.GetComponent<Block>().is_Walkable); | |||
//Since we currently don't let people jump over walls, if either block is a wall, the connection is invalid | |||
if (!(exit.GetComponent<Block>().is_Walkable) || !(entry.GetComponent<Block>().is_Walkable)) | |||
{ | |||
//Debug.Log("Invalid connection - not walkable"); | |||
return false; | |||
} | |||
//Debug.Log("Exit.isWater = " + exit.GetComponent<Block>().isWater + ", Entry.isWater = " + entry.GetComponent<Block>().isWater); | |||
//If both components are water, moving through this connection is technically possible, but we don't count it as valid | |||
if ((exit.GetComponent<Block>().isWater) && (entry.GetComponent<Block>().isWater)) | |||
{ | |||
//Debug.Log("Invalid connection - both water"); | |||
return false; | |||
} | |||
//Debug.Log("Valid connection!"); | |||
//If we've passed all these tests, the connection is valid! | |||
return true; | |||
} | |||
//Check whether it's time to extend the track forward | |||
void checkForward() | |||
{ | |||
//We check if the end of the last section of track is in sight | |||
Vector3 trackEnd = new Vector3(endX, 0.0f); //Get the middle of the end of the last track section | |||
//If it is, then we add a new section | |||
if (checkView(trackEnd)) | |||
{ | |||
chooseNextSection(); | |||
checkForward(); | |||
} | |||
} | |||
//Check whether it's time to delete the oldest section of active track | |||
void checkBack() | |||
{ | |||
//We check if the end of the first section of track is still in sight | |||
Vector3 firstSectionEnd = new Vector3(startX + activeSections[0].length, 0.0f); //Get the middle of the end of the first track section | |||
//If it's not, then we remove it | |||
if (!(checkView(firstSectionEnd))) | |||
{ | |||
startX += activeSections[0].length; | |||
activeSections[0].destroySection(); | |||
activeSections.RemoveAt(0); | |||
} | |||
} | |||
//Check whether a point is in sight or not | |||
bool checkView(Vector3 point) | |||
{ | |||
Vector3 screenPoint = Camera.main.WorldToViewportPoint(point); //Map it into viewport space | |||
//The camera's field of view is represented by 0 > (x, y) < 1, with z being the distance from the camera | |||
return (screenPoint.z > 0 && screenPoint.x > 0 && screenPoint.x < 1 && screenPoint.y > 0 && screenPoint.y < 1); | |||
} | |||
//Checks in both directions for sections needing to be added or removed | |||
public void checkTrack() | |||
{ | |||
checkForward(); | |||
checkBack(); | |||
} | |||
// Update is called once per frame | |||
void Update() | |||
{ | |||
//checkTrack(); | |||
} | |||
} |
@ -0,0 +1,11 @@ | |||
fileFormatVersion: 2 | |||
guid: 410315ba4dbcba04a90c22b64b070d6a | |||
MonoImporter: | |||
externalObjects: {} | |||
serializedVersion: 2 | |||
defaultReferences: [] | |||
executionOrder: 0 | |||
icon: {instanceID: 0} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -0,0 +1,81 @@ | |||
using System.Collections; | |||
using System.Collections.Generic; | |||
using UnityEngine; | |||
public class MapSection : MonoBehaviour | |||
{ | |||
public int width = 0; | |||
public int length = 0; | |||
int size; | |||
public string sectionName = ""; | |||
//Lists of each type of block, assigned in the inspector | |||
public List<GameObject> boulders; | |||
public List<GameObject> belts; | |||
public List<GameObject> cannons; | |||
public List<GameObject> pits; | |||
public List<GameObject> spawns; | |||
public List<GameObject> spikes; | |||
public List<GameObject> track; | |||
public List<GameObject> walls; | |||
public List<GameObject> water; | |||
public List<GameObject> blocks; //Complete list of all blocks, cleared & filled on creation | |||
public List<GameObject> entrances; //Ways into this map segment | |||
public List<GameObject> exits; //Ways out of this map segment | |||
// Start is called before the first frame update | |||
void Start() | |||
{ | |||
} | |||
public void InitSection() | |||
{ | |||
size = width * length; | |||
blocks = new List<GameObject>(); | |||
blocks.AddRange(boulders); | |||
blocks.AddRange(belts); | |||
blocks.AddRange(cannons); | |||
blocks.AddRange(pits); | |||
blocks.AddRange(spawns); | |||
blocks.AddRange(spikes); | |||
blocks.AddRange(track); | |||
blocks.AddRange(walls); | |||
blocks.AddRange(water); | |||
} | |||
public void InitSection(int num) | |||
{ | |||
name = num + " " + name; | |||
size = width * length; | |||
blocks = new List<GameObject>(); | |||
blocks.AddRange(boulders); | |||
blocks.AddRange(belts); | |||
blocks.AddRange(cannons); | |||
blocks.AddRange(pits); | |||
blocks.AddRange(spawns); | |||
blocks.AddRange(spikes); | |||
blocks.AddRange(track); | |||
blocks.AddRange(walls); | |||
blocks.AddRange(water); | |||
} | |||
public int getSize() | |||
{ | |||
return size; | |||
} | |||
public void destroySection() | |||
{ | |||
/*foreach (GameObject block in blocks) | |||
{ | |||
Object.Destroy(block); | |||
}*/ | |||
/*Debug.Log("Destroying section " + name + ", position = " + transform.position.x + ", " + transform.position.y + ", " + transform.position.z); | |||
gameObject.transform.position = new Vector3(0.0f, 0.0f, 1000.0f);*/ | |||
Debug.Log("Destroying section " + name + ", position = " + transform.position.x + ", " + transform.position.y + ", " + transform.position.z); | |||
//gameObject.SetActive(false); | |||
Destroy(gameObject); | |||
} | |||
} |
@ -0,0 +1,11 @@ | |||
fileFormatVersion: 2 | |||
guid: 36b3461547afb96459a4c4b059c764a7 | |||
MonoImporter: | |||
externalObjects: {} | |||
serializedVersion: 2 | |||
defaultReferences: [] | |||
executionOrder: 0 | |||
icon: {instanceID: 0} | |||
userData: | |||
assetBundleName: | |||
assetBundleVariant: |
@ -1,3 +1,3 @@ | |||
version https://git-lfs.github.com/spec/v1 | |||
oid sha256:ca5f18261fab72b72752ecf93ad8fd347fea19843b3184e007e8cba55e6dff7b | |||
size 2010 | |||
oid sha256:9684c54f3409168ac466768434a8b3cda25add5043399384e073903491a1a49a | |||
size 2120 |