mirror of
https://github.com/ConjureETS/PixelSphinx.git
synced 2026-03-24 02:20:58 +00:00
Merge branch 'master' of https://github.com/ETSConjure/PixelSphinx
Conflicts: Assets/Scripts/Astronaut.cs Assets/Scripts/PlanetManager.cs
This commit is contained in:
commit
9983916ebc
59
Assets/Prefabs/AsteroidSpawner.prefab
Normal file
59
Assets/Prefabs/AsteroidSpawner.prefab
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &183270
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 456206}
|
||||||
|
- 114: {fileID: 11485214}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: AsteroidSpawner
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &456206
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183270}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!114 &11485214
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183270}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 43c82cd8902191d49b45cf914b13e97c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
textTime:
|
||||||
|
NextSpawnTime: 0.33
|
||||||
|
AsteroidPrefab1: {fileID: 160026, guid: cc1a204562630cd40a1dd685b5ed8e6e, type: 2}
|
||||||
|
AsteroidPrefab2: {fileID: 160026, guid: 9e24cfebf8317af4090edf41a498cde3, type: 2}
|
||||||
|
AsteroidPrefab3: {fileID: 160026, guid: 2d040b7dcfc7d564e98f7405c6746934, type: 2}
|
||||||
|
AsteroidPrefab4: {fileID: 160026, guid: 834d089adee1456459b32802ed8f11fb, type: 2}
|
||||||
|
GenerationVersLesjoueurs: 1
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 183270}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
8
Assets/Prefabs/AsteroidSpawner.prefab.meta
Normal file
8
Assets/Prefabs/AsteroidSpawner.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e86e27c7b6d9c824cb76115e90a15cac
|
||||||
|
timeCreated: 1460164994
|
||||||
|
licenseType: Pro
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -57,8 +57,9 @@ GameObject:
|
|||||||
- 4: {fileID: 403646}
|
- 4: {fileID: 403646}
|
||||||
- 114: {fileID: 11494368}
|
- 114: {fileID: 11494368}
|
||||||
- 114: {fileID: 11434752}
|
- 114: {fileID: 11434752}
|
||||||
- 54: {fileID: 5402556}
|
|
||||||
- 136: {fileID: 13683032}
|
- 136: {fileID: 13683032}
|
||||||
|
- 54: {fileID: 5462614}
|
||||||
|
- 136: {fileID: 13672180}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Character
|
m_Name: Character
|
||||||
m_TagString: Player
|
m_TagString: Player
|
||||||
@ -117,7 +118,7 @@ Transform:
|
|||||||
- {fileID: 403646}
|
- {fileID: 403646}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
--- !u!54 &5402556
|
--- !u!54 &5462614
|
||||||
Rigidbody:
|
Rigidbody:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
m_PrefabParentObject: {fileID: 0}
|
m_PrefabParentObject: {fileID: 0}
|
||||||
@ -130,7 +131,7 @@ Rigidbody:
|
|||||||
m_UseGravity: 0
|
m_UseGravity: 0
|
||||||
m_IsKinematic: 0
|
m_IsKinematic: 0
|
||||||
m_Interpolate: 0
|
m_Interpolate: 0
|
||||||
m_Constraints: 0
|
m_Constraints: 120
|
||||||
m_CollisionDetection: 0
|
m_CollisionDetection: 0
|
||||||
--- !u!114 &11434752
|
--- !u!114 &11434752
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -164,7 +165,21 @@ MonoBehaviour:
|
|||||||
JumpSpeed: 5
|
JumpSpeed: 5
|
||||||
Gravity: 15
|
Gravity: 15
|
||||||
Speed: 5
|
Speed: 5
|
||||||
|
EjectSpeed: 20
|
||||||
planet: {fileID: 0}
|
planet: {fileID: 0}
|
||||||
|
--- !u!136 &13672180
|
||||||
|
CapsuleCollider:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 170392}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IsTrigger: 0
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Radius: 0.77
|
||||||
|
m_Height: 3.37
|
||||||
|
m_Direction: 1
|
||||||
|
m_Center: {x: -0.03, y: 0.35, z: 0}
|
||||||
--- !u!136 &13683032
|
--- !u!136 &13683032
|
||||||
CapsuleCollider:
|
CapsuleCollider:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
|
|||||||
114
Assets/Prefabs/BackgroundLayer.prefab
Normal file
114
Assets/Prefabs/BackgroundLayer.prefab
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &140218
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 458264}
|
||||||
|
- 212: {fileID: 21286820}
|
||||||
|
- 114: {fileID: 11474084}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: atmosphere_stars
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!1 &192094
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 483280}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: BackgroundLayer
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &458264
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 140218}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0.1}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 483280}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!4 &483280
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 192094}
|
||||||
|
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: 458264}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!114 &11474084
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 140218}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f0e11200b6b1f54479582f86a7d397b4, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
rotationSpeed: 1
|
||||||
|
rotationDirection: 1
|
||||||
|
RandomRotationSpeed: 1
|
||||||
|
--- !u!212 &21286820
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 140218}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_SubsetIndices:
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_UseLightProbes: 0
|
||||||
|
m_ReflectionProbeUsage: 0
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 7b600710d7c1f804bad6a43acd9d1fcd, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 192094}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
8
Assets/Prefabs/BackgroundLayer.prefab.meta
Normal file
8
Assets/Prefabs/BackgroundLayer.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8347d06db0c264442891d12282c4a4dd
|
||||||
|
timeCreated: 1460164983
|
||||||
|
licenseType: Pro
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
195
Assets/Prefabs/Planet.prefab
Normal file
195
Assets/Prefabs/Planet.prefab
Normal file
@ -0,0 +1,195 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &176468
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 487054}
|
||||||
|
- 212: {fileID: 21256968}
|
||||||
|
- 114: {fileID: 11401780}
|
||||||
|
- 114: {fileID: 11401034}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: T_Planet_Center
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!1 &183730
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 421424}
|
||||||
|
- 33: {fileID: 3368682}
|
||||||
|
- 135: {fileID: 13593906}
|
||||||
|
- 23: {fileID: 2393588}
|
||||||
|
- 114: {fileID: 11471614}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Planet
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &421424
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183730}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 7.9, y: 7.9, z: 0.1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 487054}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!4 &487054
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 176468}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.12658228, y: 0.12658228, z: 10}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 421424}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!23 &2393588
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183730}
|
||||||
|
m_Enabled: 0
|
||||||
|
m_CastShadows: 1
|
||||||
|
m_ReceiveShadows: 1
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_SubsetIndices:
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_UseLightProbes: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_PreserveUVs: 1
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
--- !u!33 &3368682
|
||||||
|
MeshFilter:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183730}
|
||||||
|
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
--- !u!114 &11401034
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 176468}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c11fa6fea03561044843359e6d9d23a6, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
--- !u!114 &11401780
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 176468}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f0e11200b6b1f54479582f86a7d397b4, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
rotationSpeed: 1
|
||||||
|
rotationDirection: 1
|
||||||
|
RandomRotationSpeed: 1
|
||||||
|
--- !u!114 &11471614
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183730}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 43d953650863ce04d8918939e0248654, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
NbCartiers: 10
|
||||||
|
TailleCartiersEnDegres: 0
|
||||||
|
CartierResetRatioSpeedFactor: 0.23
|
||||||
|
CartierResetRatioSpeedRandomize: 0
|
||||||
|
CartierResetOverTime: 1
|
||||||
|
CartierMinRatio: 0.75
|
||||||
|
CartierMaxRatio: 1.25
|
||||||
|
CartierStepSize: 0.25
|
||||||
|
WedgePrefab: {fileID: 170328, guid: 0b78da08dfa398840862539a74cc2377, type: 2}
|
||||||
|
--- !u!135 &13593906
|
||||||
|
SphereCollider:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183730}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IsTrigger: 0
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Radius: 0.5
|
||||||
|
m_Center: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!212 &21256968
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 176468}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_SubsetIndices:
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_UseLightProbes: 0
|
||||||
|
m_ReflectionProbeUsage: 0
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 545c8c8845e75b44087e8546737ac074, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 183730}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
8
Assets/Prefabs/Planet.prefab.meta
Normal file
8
Assets/Prefabs/Planet.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 198e988adacced646a19f757f6237ae1
|
||||||
|
timeCreated: 1460164971
|
||||||
|
licenseType: Pro
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -14,14 +14,12 @@ public class Asteroid : MonoBehaviour
|
|||||||
public void Start()
|
public void Start()
|
||||||
{
|
{
|
||||||
speed = Random.Range(1.8F, 3F);
|
speed = Random.Range(1.8F, 3F);
|
||||||
// print(speed);
|
|
||||||
center = new Vector3(0, 0);
|
center = new Vector3(0, 0);
|
||||||
|
|
||||||
|
|
||||||
if (RandomRotationSpeed)
|
if (RandomRotationSpeed)
|
||||||
rotationSpeed = 10 * UnityEngine.Random.Range(0.25f, 5f);
|
rotationSpeed = 10 * UnityEngine.Random.Range(0.25f, 5f);
|
||||||
|
|
||||||
rotationDirection = (Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f))*2 - 1);
|
rotationDirection = (Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f)) * 2 - 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -69,9 +69,10 @@ public class AsteroidSpawner : TimerFunctionsClass
|
|||||||
print("angle:" + angle);
|
print("angle:" + angle);
|
||||||
|
|
||||||
var AsteroidType = Mathf.RoundToInt(Mathf.Floor(UnityEngine.Random.Range(0f, 3.999f)));
|
var AsteroidType = Mathf.RoundToInt(Mathf.Floor(UnityEngine.Random.Range(0f, 3.999f)));
|
||||||
|
float direction = (Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f)) * 2 - 1);
|
||||||
|
|
||||||
Instantiate(AsteroidPrefabTypes[AsteroidType],
|
Instantiate(AsteroidPrefabTypes[AsteroidType],
|
||||||
planet.GetPlanetCoordinatesFromPlayerXY(angle, UnityEngine.Random.Range(10f,15f)),
|
direction*planet.GetPlanetCoordinatesFromPlayerXY(angle, UnityEngine.Random.Range(10f,15f)),
|
||||||
Quaternion.identity);
|
Quaternion.identity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -21,6 +21,8 @@ public class Astronaut : MonoBehaviour {
|
|||||||
public float JumpSpeed;
|
public float JumpSpeed;
|
||||||
public float Gravity;
|
public float Gravity;
|
||||||
public float Speed;
|
public float Speed;
|
||||||
|
public float EjectSpeed;
|
||||||
|
//public float DashSpeed;
|
||||||
|
|
||||||
public PlanetManager planet;
|
public PlanetManager planet;
|
||||||
|
|
||||||
@ -120,15 +122,27 @@ public class Astronaut : MonoBehaviour {
|
|||||||
if (!grounded)
|
if (!grounded)
|
||||||
{
|
{
|
||||||
height += vSpeed * delta;
|
height += vSpeed * delta;
|
||||||
|
if (State != AstronautState.Ejecting)
|
||||||
vSpeed -= Gravity * delta;
|
vSpeed -= Gravity * delta;
|
||||||
|
else
|
||||||
|
vSpeed *= 0.98f;
|
||||||
}
|
}
|
||||||
|
|
||||||
float radius = GetGroundRadius();
|
float radius = GetGroundRadius();
|
||||||
if (grounded = (height <= radius))
|
if (grounded = (height <= radius))
|
||||||
{
|
{
|
||||||
|
/*if (State == AstronautState.Dashing)
|
||||||
|
{
|
||||||
|
planet.PushWedge(Repeat(theta,360));
|
||||||
|
State = AstronautState.Idle;
|
||||||
|
//TODO_SR Create dash impact here
|
||||||
|
}*/
|
||||||
|
|
||||||
height = radius;
|
height = radius;
|
||||||
if (State == AstronautState.Jumping)
|
if (State == AstronautState.Jumping)
|
||||||
State = AstronautState.Idle;
|
State = AstronautState.Idle;
|
||||||
|
|
||||||
|
vSpeed = 0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdatePosition();
|
UpdatePosition();
|
||||||
@ -207,7 +221,7 @@ public class Astronaut : MonoBehaviour {
|
|||||||
}
|
}
|
||||||
if (State == AstronautState.Dashing && grounded)
|
if (State == AstronautState.Dashing && grounded)
|
||||||
{
|
{
|
||||||
//TODO arreter mouvelement lateral
|
//TODO arreter mouvement lateral
|
||||||
State=AstronautState.Idle;
|
State=AstronautState.Idle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -241,6 +255,16 @@ public class Astronaut : MonoBehaviour {
|
|||||||
|
|
||||||
lastDashTime = Time.time;
|
lastDashTime = Time.time;
|
||||||
planet.PushWedge(this.theta);
|
planet.PushWedge(this.theta);
|
||||||
|
|
||||||
|
//State = AstronautState.Dashing;
|
||||||
|
//vSpeed = -DashSpeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Eject()
|
||||||
|
{
|
||||||
|
State = AstronautState.Ejecting;
|
||||||
|
vSpeed = EjectSpeed;
|
||||||
|
grounded = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -251,27 +275,12 @@ public class Astronaut : MonoBehaviour {
|
|||||||
print("Stunned");
|
print("Stunned");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void OnGUI()
|
public void OnGUI()
|
||||||
{
|
{
|
||||||
if (GUI.Button(new Rect(10, 10, 150, 50), "Jump"))
|
if (GUI.Button(new Rect(10, 10, 150, 50), State.ToString()))
|
||||||
{
|
{
|
||||||
Debug.Log("Clicked the button with an image");
|
Debug.Log("Clicked the button with an image");
|
||||||
_astronautAnimator.Jump();
|
Eject();
|
||||||
}
|
|
||||||
|
|
||||||
if (GUI.Button(new Rect(10, 70, 150, 50), "Land"))
|
|
||||||
{
|
|
||||||
Debug.Log("Clicked the 2nd button");
|
|
||||||
_astronautAnimator.Land();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (GUI.Button(new Rect(10, 130, 150, 50), "Walk"))
|
|
||||||
{
|
|
||||||
Debug.Log("Clicked the 3rd button");
|
|
||||||
State = AstronautState.Walking;
|
|
||||||
_astronautAnimator.Walk();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
using UnityEngine;
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
public class Earthquake : MonoBehaviour {
|
public class Earthquake : MonoBehaviour {
|
||||||
int gaugeLevel;
|
int gaugeLevel;
|
||||||
const int gaugeMax=100;
|
public int gaugeMax=100;
|
||||||
|
|
||||||
// Use this for initialization
|
// Use this for initialization
|
||||||
public void Start()
|
public void Start()
|
||||||
@ -50,6 +51,11 @@ public class Earthquake : MonoBehaviour {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
|
var planet = FindObjectOfType<PlanetManager>();
|
||||||
|
|
||||||
|
planet.CallEarthQuake();
|
||||||
|
|
||||||
gaugeLevel = 0;
|
gaugeLevel = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -103,6 +103,23 @@ public class PlanetManager : MonoBehaviour
|
|||||||
v.offset = CartierMaxRatio;
|
v.offset = CartierMaxRatio;
|
||||||
|
|
||||||
v.sprite.transform.localScale = new Vector3(v.offset, v.offset, 1);
|
v.sprite.transform.localScale = new Vector3(v.offset, v.offset, 1);
|
||||||
|
|
||||||
|
// call fill gauge after every hit.
|
||||||
|
var earthQuakeGauge = FindObjectOfType<Earthquake>();
|
||||||
|
earthQuakeGauge.FillGauge();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// On a earthquake, everything expands by a step
|
||||||
|
/// </summary>
|
||||||
|
public void CallEarthQuake()
|
||||||
|
{
|
||||||
|
foreach (var w in wedges)
|
||||||
|
{
|
||||||
|
w.offset = w.offset + CartierStepSize;
|
||||||
|
if (w.offset > CartierMaxRatio)
|
||||||
|
w.offset = CartierMaxRatio;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//public void PushWedge(float thetaPlayerX)
|
//public void PushWedge(float thetaPlayerX)
|
||||||
|
|||||||
@ -572,6 +572,14 @@ Prefab:
|
|||||||
propertyPath: Width
|
propertyPath: Width
|
||||||
value: 0.4
|
value: 0.4
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: EjectSpeed
|
||||||
|
value: 15
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: DashSpeed
|
||||||
|
value: 12
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
|
|||||||
@ -85,209 +85,12 @@ NavMeshSettings:
|
|||||||
cellSize: 0.16666667
|
cellSize: 0.16666667
|
||||||
manualCellSize: 0
|
manualCellSize: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
--- !u!1 &448376563 stripped
|
--- !u!114 &1027139440 stripped
|
||||||
GameObject:
|
|
||||||
m_PrefabParentObject: {fileID: 170392, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
m_PrefabInternal: {fileID: 1660116367}
|
|
||||||
--- !u!136 &448376564
|
|
||||||
CapsuleCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 448376563}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
m_Radius: 0.77
|
|
||||||
m_Height: 3.37
|
|
||||||
m_Direction: 1
|
|
||||||
m_Center: {x: -0.03, y: 0.35, z: 0}
|
|
||||||
--- !u!54 &448376565
|
|
||||||
Rigidbody:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 448376563}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Mass: 1
|
|
||||||
m_Drag: 0
|
|
||||||
m_AngularDrag: 0.05
|
|
||||||
m_UseGravity: 0
|
|
||||||
m_IsKinematic: 0
|
|
||||||
m_Interpolate: 0
|
|
||||||
m_Constraints: 0
|
|
||||||
m_CollisionDetection: 0
|
|
||||||
--- !u!1 &563857051
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 563857052}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: BackgroundLayer
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &563857052
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 563857051}
|
|
||||||
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: 1910635819}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 5
|
|
||||||
--- !u!1 &1027139439
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1027139444}
|
|
||||||
- 33: {fileID: 1027139443}
|
|
||||||
- 135: {fileID: 1027139442}
|
|
||||||
- 23: {fileID: 1027139441}
|
|
||||||
- 114: {fileID: 1027139440}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Planet
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &1027139440
|
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_PrefabParentObject: {fileID: 11471614, guid: 198e988adacced646a19f757f6237ae1,
|
||||||
m_PrefabParentObject: {fileID: 0}
|
type: 2}
|
||||||
m_PrefabInternal: {fileID: 0}
|
m_PrefabInternal: {fileID: 1469146136}
|
||||||
m_GameObject: {fileID: 1027139439}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 43d953650863ce04d8918939e0248654, type: 3}
|
m_Script: {fileID: 11500000, guid: 43d953650863ce04d8918939e0248654, type: 3}
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
NbCartiers: 10
|
|
||||||
TailleCartiersEnDegres: 0
|
|
||||||
CartierResetRatioSpeedFactor: 0.23
|
|
||||||
CartierResetRatioSpeedRandomize: 0
|
|
||||||
CartierResetOverTime: 1
|
|
||||||
CartierMinRatio: 0.75
|
|
||||||
CartierMaxRatio: 1.25
|
|
||||||
CartierStepSize: 0.25
|
|
||||||
WedgePrefab: {fileID: 170328, guid: 0b78da08dfa398840862539a74cc2377, type: 2}
|
|
||||||
--- !u!23 &1027139441
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1027139439}
|
|
||||||
m_Enabled: 0
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_SubsetIndices:
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_UseLightProbes: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_PreserveUVs: 1
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!135 &1027139442
|
|
||||||
SphereCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1027139439}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Radius: 0.5
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &1027139443
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1027139439}
|
|
||||||
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &1027139444
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1027139439}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 7.9, y: 7.9, z: 0.1}
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 1963189941}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 2
|
|
||||||
--- !u!1 &1055650857
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1055650859}
|
|
||||||
- 114: {fileID: 1055650858}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: AsteroidSpawner
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &1055650858
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1055650857}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 43c82cd8902191d49b45cf914b13e97c, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
textTime:
|
|
||||||
NextSpawnTime: 0.33
|
|
||||||
AsteroidPrefab1: {fileID: 160026, guid: cc1a204562630cd40a1dd685b5ed8e6e, type: 2}
|
|
||||||
AsteroidPrefab2: {fileID: 160026, guid: 9e24cfebf8317af4090edf41a498cde3, type: 2}
|
|
||||||
AsteroidPrefab3: {fileID: 160026, guid: 2d040b7dcfc7d564e98f7405c6746934, type: 2}
|
|
||||||
AsteroidPrefab4: {fileID: 160026, guid: 834d089adee1456459b32802ed8f11fb, type: 2}
|
|
||||||
GenerationVersLesjoueurs: 1
|
|
||||||
--- !u!4 &1055650859
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1055650857}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
--- !u!1001 &1072533353
|
--- !u!1001 &1072533353
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -335,6 +138,90 @@ Prefab:
|
|||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 158e745881137e04ca2086294f44d74c, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: 158e745881137e04ca2086294f44d74c, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &1223268487
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &1469146136
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 421424, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
--- !u!1001 &1660116367
|
--- !u!1001 &1660116367
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -374,139 +261,87 @@ Prefab:
|
|||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 3
|
value: 3
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 403646, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: planet
|
propertyPath: planet
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1027139440}
|
objectReference: {fileID: 1027139440}
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: StepTime
|
|
||||||
value: 5
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: JumpSpeed
|
|
||||||
value: 5
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_SortingOrder
|
|
||||||
value: 15
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_SortingOrder
|
|
||||||
value: 15
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 406446, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: -0.04
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 418246, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: -0.18
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 406446, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0.63
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 418246, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0.36
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: width
|
|
||||||
value: 0.4
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: Gravity
|
|
||||||
value: 15
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: Speed
|
|
||||||
value: 5
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: Width
|
|
||||||
value: 0.4
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 154602, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 154602, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Astronaut_1
|
value: Astronaut_1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 170392, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 5402556, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_TagString
|
propertyPath: m_AngularDrag
|
||||||
value: Player
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 154602, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 5402556, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_TagString
|
propertyPath: m_IsKinematic
|
||||||
value: Untagged
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 5402556, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_Enabled
|
propertyPath: m_UseGravity
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5402556, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Mass
|
||||||
value: 1
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 13683032, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Center.y
|
||||||
|
value: 1.31
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 13683032, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Height
|
||||||
|
value: 1.59
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 13683032, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Radius
|
||||||
|
value: 0.76
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
--- !u!1 &1910635818
|
--- !u!1001 &1867085521
|
||||||
GameObject:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_PrefabParentObject: {fileID: 0}
|
serializedVersion: 2
|
||||||
m_PrefabInternal: {fileID: 0}
|
m_Modification:
|
||||||
serializedVersion: 4
|
m_TransformParent: {fileID: 0}
|
||||||
m_Component:
|
m_Modifications:
|
||||||
- 4: {fileID: 1910635819}
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
- 212: {fileID: 1910635820}
|
propertyPath: m_LocalPosition.x
|
||||||
m_Layer: 0
|
value: 0
|
||||||
m_Name: atmosphere_stars
|
objectReference: {fileID: 0}
|
||||||
m_TagString: Untagged
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_Icon: {fileID: 0}
|
propertyPath: m_LocalPosition.y
|
||||||
m_NavMeshLayer: 0
|
value: 0
|
||||||
m_StaticEditorFlags: 0
|
objectReference: {fileID: 0}
|
||||||
m_IsActive: 1
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
--- !u!4 &1910635819
|
propertyPath: m_LocalPosition.z
|
||||||
Transform:
|
value: 0
|
||||||
m_ObjectHideFlags: 0
|
objectReference: {fileID: 0}
|
||||||
m_PrefabParentObject: {fileID: 0}
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_PrefabInternal: {fileID: 0}
|
propertyPath: m_LocalRotation.x
|
||||||
m_GameObject: {fileID: 1910635818}
|
value: 0
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
objectReference: {fileID: 0}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0.1}
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
propertyPath: m_LocalRotation.y
|
||||||
m_Children: []
|
value: 0
|
||||||
m_Father: {fileID: 563857052}
|
objectReference: {fileID: 0}
|
||||||
m_RootOrder: 0
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
--- !u!212 &1910635820
|
propertyPath: m_LocalRotation.z
|
||||||
SpriteRenderer:
|
value: 0
|
||||||
m_ObjectHideFlags: 0
|
objectReference: {fileID: 0}
|
||||||
m_PrefabParentObject: {fileID: 0}
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_PrefabInternal: {fileID: 0}
|
propertyPath: m_LocalRotation.w
|
||||||
m_GameObject: {fileID: 1910635818}
|
value: 1
|
||||||
m_Enabled: 1
|
objectReference: {fileID: 0}
|
||||||
m_CastShadows: 0
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_ReceiveShadows: 0
|
propertyPath: m_RootOrder
|
||||||
m_Materials:
|
value: 5
|
||||||
- {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0}
|
objectReference: {fileID: 0}
|
||||||
m_SubsetIndices:
|
m_RemovedComponents: []
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
m_ParentPrefab: {fileID: 100100000, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_UseLightProbes: 0
|
m_IsPrefabParent: 0
|
||||||
m_ReflectionProbeUsage: 0
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_Sprite: {fileID: 21300000, guid: 7b600710d7c1f804bad6a43acd9d1fcd, type: 3}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_FlipX: 0
|
|
||||||
m_FlipY: 0
|
|
||||||
--- !u!1 &1945693977
|
--- !u!1 &1945693977
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -593,61 +428,3 @@ Transform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
--- !u!1 &1963189940
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1963189941}
|
|
||||||
- 212: {fileID: 1963189942}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: T_Planet_Center
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &1963189941
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1963189940}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 0.12658228, y: 0.12658228, z: 10}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1027139444}
|
|
||||||
m_RootOrder: 0
|
|
||||||
--- !u!212 &1963189942
|
|
||||||
SpriteRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1963189940}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 0
|
|
||||||
m_ReceiveShadows: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_SubsetIndices:
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_UseLightProbes: 0
|
|
||||||
m_ReflectionProbeUsage: 0
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_Sprite: {fileID: 21300000, guid: 545c8c8845e75b44087e8546737ac074, type: 3}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_FlipX: 0
|
|
||||||
m_FlipY: 0
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user