From 4b68e368fd75f783d071ba6fead2b54663b77104 Mon Sep 17 00:00:00 2001 From: nexovec Date: Sat, 29 Jan 2022 16:27:55 +0100 Subject: [PATCH] generating circles --- Assets/Scenes/Testing.unity | 1011 +++++++++-------- Assets/Scripts/CirclePlatformGenerator.cs | 30 + .../Scripts/CirclePlatformGenerator.cs.meta | 11 + 3 files changed, 601 insertions(+), 451 deletions(-) create mode 100644 Assets/Scripts/CirclePlatformGenerator.cs create mode 100644 Assets/Scripts/CirclePlatformGenerator.cs.meta diff --git a/Assets/Scenes/Testing.unity b/Assets/Scenes/Testing.unity index 9553d34..5531bab 100644 --- a/Assets/Scenes/Testing.unity +++ b/Assets/Scenes/Testing.unity @@ -123,68 +123,6 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1001 &39090894 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 327689121} - m_Modifications: - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_RootOrder - value: 10 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.x - value: -103.00523 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.y - value: -27.61964 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.z - value: -40.016167 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.w - value: -0.2399425 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.z - value: 0.9707871 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 207.766 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_Name - value: Platform_Blue (7) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &39090895 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 39090894} - m_PrefabAsset: {fileID: 0} --- !u!1001 &85431963 PrefabInstance: m_ObjectHideFlags: 0 @@ -242,21 +180,16 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &120725599 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 854903864} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &258401668 +--- !u!1001 &192462138 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 327689121} + m_TransformParent: {fileID: 1771462019} m_Modifications: - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_RootOrder - value: 8 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.x @@ -300,14 +233,14 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_Name - value: Platform_Blue (5) + value: Platform_Blue (14) objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &258401669 stripped +--- !u!4 &192462139 stripped Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 258401668} + m_PrefabInstance: {fileID: 192462138} m_PrefabAsset: {fileID: 0} --- !u!1 &327689120 GameObject: @@ -339,87 +272,14 @@ Transform: m_Children: - {fileID: 1429068746} - {fileID: 1485450262} - - {fileID: 2009655149} - {fileID: 1952862063} - {fileID: 945623279} - {fileID: 1210902573} - - {fileID: 120725599} - - {fileID: 1318055903} - - {fileID: 258401669} - - {fileID: 1620023971} - - {fileID: 39090895} - - {fileID: 358391054} - - {fileID: 1575825840} - - {fileID: 740849107} - - {fileID: 1932669296} - - {fileID: 1355937531} - {fileID: 559456472} - - {fileID: 574603077} + - {fileID: 1771462019} m_Father: {fileID: 0} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &358391053 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 327689121} - m_Modifications: - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_RootOrder - value: 11 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.x - value: -101.84012 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.y - value: -59.92656 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.z - value: -40.016167 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.w - value: -0.97972804 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.z - value: 0.20033212 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 336.887 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_Name - value: Platform_Blue (12) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &358391054 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 358391053} - m_PrefabAsset: {fileID: 0} --- !u!1001 &559456471 PrefabInstance: m_ObjectHideFlags: 0 @@ -429,7 +289,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8768991388683709944, guid: 32d2ba4971e4c7e4ab98a1f9c37dcffc, type: 3} propertyPath: m_RootOrder - value: 16 + value: 5 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 32d2ba4971e4c7e4ab98a1f9c37dcffc, type: 3} propertyPath: m_LocalPosition.x @@ -482,68 +342,6 @@ Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 32d2ba4971e4c7e4ab98a1f9c37dcffc, type: 3} m_PrefabInstance: {fileID: 559456471} m_PrefabAsset: {fileID: 0} ---- !u!1001 &574603076 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 327689121} - m_Modifications: - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_RootOrder - value: 17 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.x - value: -95.799995 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.y - value: -26.100002 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.z - value: -40.6 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.w - value: -0.0072860215 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.z - value: 0.99997354 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 180.835 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_Name - value: Platform_Blue (13) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &574603077 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 574603076} - m_PrefabAsset: {fileID: 0} --- !u!1001 &613611969 PrefabInstance: m_ObjectHideFlags: 0 @@ -573,7 +371,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} propertyPath: m_RootOrder - value: 4 + value: 3 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} propertyPath: m_LocalPosition.x @@ -621,6 +419,38 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} +--- !u!1 &687926524 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 687926525} + m_Layer: 0 + m_Name: GroupPreset + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &687926525 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 687926524} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1927615313} + m_Father: {fileID: 2025955786} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &692333914 PrefabInstance: m_ObjectHideFlags: 0 @@ -634,7 +464,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} propertyPath: m_RootOrder - value: 3 + value: 2 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} propertyPath: m_LocalPosition.x @@ -776,73 +606,16 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} ---- !u!1001 &736274573 +--- !u!1001 &711012225 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 327689121} + m_TransformParent: {fileID: 1771462019} m_Modifications: - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.x - value: -79.9 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.y - value: -58 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.z - value: -40.016167 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.w - value: 0.9372656 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.z - value: 0.34861633 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 40.805 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_Name - value: Platform_Blue - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!1001 &740849106 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 327689121} - m_Modifications: - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_RootOrder - value: 13 + value: 6 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.x @@ -858,7 +631,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.w - value: -0.689335 + value: -0.68933505 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.x @@ -870,7 +643,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.z - value: 0.7244427 + value: 0.7244428 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -886,25 +659,25 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_Name - value: Platform_Blue (9) + value: Platform_Blue (20) objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &740849107 stripped +--- !u!4 &711012226 stripped Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 740849106} + m_PrefabInstance: {fileID: 711012225} m_PrefabAsset: {fileID: 0} ---- !u!1001 &824760724 +--- !u!1001 &725945532 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 327689121} + m_TransformParent: {fileID: 1771462019} m_Modifications: - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_RootOrder - value: 7 + value: 5 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.x @@ -948,67 +721,15 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_Name - value: Platform_Blue (3) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!1001 &854903864 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 327689121} - m_Modifications: - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_RootOrder - value: 6 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.x - value: -75.28 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.y - value: -51.62 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.z - value: -40.016167 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.w - value: 0.8390543 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.z - value: 0.5440478 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 65.919 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_Name - value: Platform_Blue (2) + value: Platform_Blue (19) objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} +--- !u!4 &725945533 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + m_PrefabInstance: {fileID: 725945532} + m_PrefabAsset: {fileID: 0} --- !u!1001 &873153274 PrefabInstance: m_ObjectHideFlags: 0 @@ -1071,98 +792,16 @@ Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} m_PrefabInstance: {fileID: 613611969} m_PrefabAsset: {fileID: 0} ---- !u!4 &1210902573 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} - m_PrefabInstance: {fileID: 2010853386} - m_PrefabAsset: {fileID: 0} ---- !u!4 &1318055903 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 824760724} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &1355937530 +--- !u!1001 &1007500694 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 327689121} + m_TransformParent: {fileID: 1771462019} m_Modifications: - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_RootOrder - value: 15 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.x - value: -107.9384 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.y - value: -55.058186 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalPosition.z - value: -40.016167 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.w - value: -0.87719846 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalRotation.z - value: 0.48012805 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 302.613 - objectReference: {fileID: 0} - - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_Name - value: Platform_Blue (11) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &1355937531 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 1355937530} - m_PrefabAsset: {fileID: 0} ---- !u!4 &1429068746 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 32d2ba4971e4c7e4ab98a1f9c37dcffc, type: 3} - m_PrefabInstance: {fileID: 8768991389571511858} - m_PrefabAsset: {fileID: 0} ---- !u!4 &1485450262 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 85431963} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &1575825839 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 327689121} - m_Modifications: - - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - propertyPath: m_RootOrder - value: 12 + value: 8 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.x @@ -1206,25 +845,102 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_Name - value: Platform_Blue (8) + value: Platform_Blue (22) objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &1575825840 stripped +--- !u!4 &1007500695 stripped Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 1575825839} + m_PrefabInstance: {fileID: 1007500694} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1620023970 +--- !u!4 &1210902573 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} + m_PrefabInstance: {fileID: 2010853386} + m_PrefabAsset: {fileID: 0} +--- !u!4 &1429068746 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 32d2ba4971e4c7e4ab98a1f9c37dcffc, type: 3} + m_PrefabInstance: {fileID: 8768991389571511858} + m_PrefabAsset: {fileID: 0} +--- !u!4 &1485450262 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + m_PrefabInstance: {fileID: 85431963} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1582269107 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 327689121} + m_TransformParent: {fileID: 1771462019} m_Modifications: - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_RootOrder - value: 9 + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.x + value: -79.9 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.y + value: -58 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.z + value: -40.016167 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.w + value: 0.9372656 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.z + value: 0.34861633 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 40.805 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_Name + value: Platform_Blue (17) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} +--- !u!4 &1582269108 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + m_PrefabInstance: {fileID: 1582269107} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1713952468 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1771462019} + m_Modifications: + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_RootOrder + value: 7 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.x @@ -1240,7 +956,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.w - value: 0.0877961 + value: 0.08779611 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.x @@ -1252,7 +968,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.z - value: 0.99613845 + value: 0.9961385 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1268,15 +984,57 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_Name - value: Platform_Blue (6) + value: Platform_Blue (21) objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &1620023971 stripped +--- !u!4 &1713952469 stripped Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 1620023970} + m_PrefabInstance: {fileID: 1713952468} m_PrefabAsset: {fileID: 0} +--- !u!1 &1771462018 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1771462019} + m_Layer: 0 + m_Name: Circle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1771462019 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1771462018} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 192462139} + - {fileID: 2119331875} + - {fileID: 2104603613} + - {fileID: 1582269108} + - {fileID: 2129749456} + - {fileID: 725945533} + - {fileID: 711012226} + - {fileID: 1713952469} + - {fileID: 1007500695} + - {fileID: 1975423859} + - {fileID: 2072440929} + m_Father: {fileID: 327689121} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1802677907 GameObject: m_ObjectHideFlags: 0 @@ -1326,44 +1084,44 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &1932669295 +--- !u!1001 &1927615312 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 327689121} + m_TransformParent: {fileID: 687926525} m_Modifications: - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_RootOrder - value: 14 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.x - value: -110.73353 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.y - value: -47.69364 + value: 20 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalPosition.z - value: -40.016167 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.w - value: -0.7518321 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.x - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.y - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalRotation.z - value: 0.65935457 + value: 1 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1375,18 +1133,18 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_LocalEulerAnglesHint.z - value: 277.499 + value: 180 objectReference: {fileID: 0} - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} propertyPath: m_Name - value: Platform_Blue (10) + value: Platform_Blue (25) objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} ---- !u!4 &1932669296 stripped +--- !u!4 &1927615313 stripped Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 1932669295} + m_PrefabInstance: {fileID: 1927615312} m_PrefabAsset: {fileID: 0} --- !u!4 &1952862063 stripped Transform: @@ -1455,10 +1213,67 @@ PrefabInstance: m_RemovedComponents: - {fileID: 5651099808780516101, guid: ec622cf6f0988bc42a99ba84304c15a9, type: 3} m_SourcePrefab: {fileID: 100100000, guid: ec622cf6f0988bc42a99ba84304c15a9, type: 3} ---- !u!4 &2009655149 stripped +--- !u!1001 &1975423858 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1771462019} + m_Modifications: + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_RootOrder + value: 9 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.x + value: -110.73353 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.y + value: -47.69364 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.z + value: -40.016167 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.w + value: -0.7518321 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.z + value: 0.65935457 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 277.499 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_Name + value: Platform_Blue (23) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} +--- !u!4 &1975423859 stripped Transform: m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} - m_PrefabInstance: {fileID: 736274573} + m_PrefabInstance: {fileID: 1975423858} m_PrefabAsset: {fileID: 0} --- !u!1001 &2010853386 PrefabInstance: @@ -1469,7 +1284,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} propertyPath: m_RootOrder - value: 5 + value: 4 objectReference: {fileID: 0} - target: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} propertyPath: m_LocalPosition.x @@ -1517,6 +1332,300 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3} +--- !u!1 &2025955784 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2025955786} + - component: {fileID: 2025955785} + m_Layer: 0 + m_Name: CirclePlatformGroupSpawner + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2025955785 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2025955784} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0418fbcc3e28fec4696b40ecbbf51c7e, type: 3} + m_Name: + m_EditorClassIdentifier: + objectToCopy: {fileID: 687926524} +--- !u!4 &2025955786 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2025955784} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -4.267188, y: 18.244877, z: 81.849434} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 687926525} + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &2072440928 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1771462019} + m_Modifications: + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_RootOrder + value: 10 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.x + value: -107.9384 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.y + value: -55.058186 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.z + value: -40.016167 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.w + value: -0.87719846 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.z + value: 0.48012805 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 302.613 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_Name + value: Platform_Blue (24) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} +--- !u!4 &2072440929 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + m_PrefabInstance: {fileID: 2072440928} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2104603612 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1771462019} + m_Modifications: + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.x + value: -101.84012 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.y + value: -59.92656 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.z + value: -40.016167 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.w + value: -0.97972804 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.z + value: 0.20033212 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 336.887 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_Name + value: Platform_Blue (16) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} +--- !u!4 &2104603613 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + m_PrefabInstance: {fileID: 2104603612} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2119331874 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1771462019} + m_Modifications: + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.x + value: -103.00523 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.y + value: -27.61964 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.z + value: -40.016167 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.w + value: -0.2399425 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.z + value: 0.9707871 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 207.766 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_Name + value: Platform_Blue (15) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} +--- !u!4 &2119331875 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + m_PrefabInstance: {fileID: 2119331874} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2129749455 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1771462019} + m_Modifications: + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.x + value: -75.28 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.y + value: -51.62 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalPosition.z + value: -40.016167 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.w + value: 0.8390543 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalRotation.z + value: 0.5440478 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 65.919 + objectReference: {fileID: 0} + - target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + propertyPath: m_Name + value: Platform_Blue (18) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} +--- !u!4 &2129749456 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3} + m_PrefabInstance: {fileID: 2129749455} + m_PrefabAsset: {fileID: 0} --- !u!1001 &8768991389571511858 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/CirclePlatformGenerator.cs b/Assets/Scripts/CirclePlatformGenerator.cs new file mode 100644 index 0000000..5bd1587 --- /dev/null +++ b/Assets/Scripts/CirclePlatformGenerator.cs @@ -0,0 +1,30 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class CirclePlatformGenerator : MonoBehaviour +{ + public Object objectToCopy; + // Start is called before the first frame update + void Start() + { + int pieceCount = 10; + float angle = 360f / (float)pieceCount; + // var axis = transform.RotateAround(axis, angle * Time.deltaTime * 5f); + for (int i = 0; i < pieceCount; i++) + { + Quaternion rotation = Quaternion.AngleAxis(i * angle, Vector3.forward); + Vector3 direction = rotation * Vector3.forward; + + Vector3 position = transform.position + (direction * 20); + Instantiate(this.objectToCopy, Vector3.zero, rotation); + } + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/Assets/Scripts/CirclePlatformGenerator.cs.meta b/Assets/Scripts/CirclePlatformGenerator.cs.meta new file mode 100644 index 0000000..421dfad --- /dev/null +++ b/Assets/Scripts/CirclePlatformGenerator.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0418fbcc3e28fec4696b40ecbbf51c7e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: