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/Art/T_Char_Stunned_03.png.meta Assets/Prefabs/Astronaut.prefab Assets/_Scenes/Main.unity
This commit is contained in:
commit
1c3388a352
@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: e754c9a065417df45b0045f72d7d29fb
|
guid: f232242ccad7e3842bad3905b644b140
|
||||||
timeCreated: 1460224322
|
timeCreated: 1460228310
|
||||||
licenseType: Free
|
licenseType: Free
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
fileIDToRecycleName: {}
|
fileIDToRecycleName: {}
|
||||||
|
|||||||
@ -121,7 +121,7 @@ AudioSource:
|
|||||||
OutputAudioMixerGroup: {fileID: 0}
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
||||||
m_PlayOnAwake: 0
|
m_PlayOnAwake: 0
|
||||||
m_Volume: 1
|
m_Volume: 0.01
|
||||||
m_Pitch: 1
|
m_Pitch: 1
|
||||||
Loop: 0
|
Loop: 0
|
||||||
Mute: 0
|
Mute: 0
|
||||||
|
|||||||
@ -121,7 +121,7 @@ AudioSource:
|
|||||||
OutputAudioMixerGroup: {fileID: 0}
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
||||||
m_PlayOnAwake: 0
|
m_PlayOnAwake: 0
|
||||||
m_Volume: 1
|
m_Volume: 0.01
|
||||||
m_Pitch: 1
|
m_Pitch: 1
|
||||||
Loop: 0
|
Loop: 0
|
||||||
Mute: 0
|
Mute: 0
|
||||||
|
|||||||
@ -121,7 +121,7 @@ AudioSource:
|
|||||||
OutputAudioMixerGroup: {fileID: 0}
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
||||||
m_PlayOnAwake: 0
|
m_PlayOnAwake: 0
|
||||||
m_Volume: 1
|
m_Volume: 0.01
|
||||||
m_Pitch: 1
|
m_Pitch: 1
|
||||||
Loop: 0
|
Loop: 0
|
||||||
Mute: 0
|
Mute: 0
|
||||||
|
|||||||
@ -121,7 +121,7 @@ AudioSource:
|
|||||||
OutputAudioMixerGroup: {fileID: 0}
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
m_audioClip: {fileID: 8300000, guid: a3f64933040804d488869ec82332a6a5, type: 3}
|
||||||
m_PlayOnAwake: 0
|
m_PlayOnAwake: 0
|
||||||
m_Volume: 1
|
m_Volume: 0.01
|
||||||
m_Pitch: 1
|
m_Pitch: 1
|
||||||
Loop: 0
|
Loop: 0
|
||||||
Mute: 0
|
Mute: 0
|
||||||
|
|||||||
@ -69,6 +69,22 @@ GameObject:
|
|||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
|
--- !u!1 &183028
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 497504}
|
||||||
|
- 212: {fileID: 21293154}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Sprite_Stun
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 0
|
||||||
--- !u!4 &403646
|
--- !u!4 &403646
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
@ -81,6 +97,7 @@ Transform:
|
|||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 418246}
|
- {fileID: 418246}
|
||||||
- {fileID: 406446}
|
- {fileID: 406446}
|
||||||
|
- {fileID: 497504}
|
||||||
m_Father: {fileID: 494126}
|
m_Father: {fileID: 494126}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
--- !u!4 &406446
|
--- !u!4 &406446
|
||||||
@ -120,6 +137,18 @@ Transform:
|
|||||||
- {fileID: 403646}
|
- {fileID: 403646}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
|
--- !u!4 &497504
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183028}
|
||||||
|
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: 403646}
|
||||||
|
m_RootOrder: 2
|
||||||
--- !u!54 &5462614
|
--- !u!54 &5462614
|
||||||
Rigidbody:
|
Rigidbody:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
@ -233,9 +262,11 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
aspi: {fileID: 0}
|
aspi: {fileID: 0}
|
||||||
WalkAnimSpeed: 3
|
WalkAnimSpeed: 4
|
||||||
WalkAnimAngle: 20
|
WalkAnimAngle: 15
|
||||||
EjectSpinSpeed: 10
|
EjectSpinSpeed: 80
|
||||||
|
DashImpactSound: {fileID: 191714, guid: df0221176ed8d3c4a91e31e791e5c0cc, type: 2}
|
||||||
|
DashParticleSystem: {fileID: 138982, guid: 6233079c5a9a756458811f283fdca112, type: 2}
|
||||||
DustParticlesEmitter: {fileID: 138982, guid: 6233079c5a9a756458811f283fdca112, type: 2}
|
DustParticlesEmitter: {fileID: 138982, guid: 6233079c5a9a756458811f283fdca112, type: 2}
|
||||||
--- !u!114 &11494368
|
--- !u!114 &11494368
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@ -251,6 +282,7 @@ MonoBehaviour:
|
|||||||
Rotator: {fileID: 154602}
|
Rotator: {fileID: 154602}
|
||||||
SpriteWalk: {fileID: 21220066}
|
SpriteWalk: {fileID: 21220066}
|
||||||
SpriteDash: {fileID: 157058}
|
SpriteDash: {fileID: 157058}
|
||||||
|
SpriteStun: {fileID: 183028}
|
||||||
Width: 0.4
|
Width: 0.4
|
||||||
Height: 0.3
|
Height: 0.3
|
||||||
DashTime: 0.4
|
DashTime: 0.4
|
||||||
@ -346,6 +378,36 @@ SpriteRenderer:
|
|||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_FlipX: 0
|
m_FlipX: 0
|
||||||
m_FlipY: 0
|
m_FlipY: 0
|
||||||
|
--- !u!212 &21293154
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 183028}
|
||||||
|
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: 15
|
||||||
|
m_Sprite: {fileID: 21300000, guid: f232242ccad7e3842bad3905b644b140, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
--- !u!1001 &100100000
|
--- !u!1001 &100100000
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
|
|||||||
115
Assets/Prefabs/DashSound.prefab
Normal file
115
Assets/Prefabs/DashSound.prefab
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &191714
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 404630}
|
||||||
|
- 82: {fileID: 8279444}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: DashSound
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &404630
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 191714}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 3.8385537, y: -1.2472175, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!82 &8279444
|
||||||
|
AudioSource:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 191714}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 4
|
||||||
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
|
m_audioClip: {fileID: 8300000, guid: f018620a0cec23042bca100d556e0c53, type: 3}
|
||||||
|
m_PlayOnAwake: 1
|
||||||
|
m_Volume: 1
|
||||||
|
m_Pitch: 1
|
||||||
|
Loop: 0
|
||||||
|
Mute: 0
|
||||||
|
Spatialize: 0
|
||||||
|
Priority: 128
|
||||||
|
DopplerLevel: 1
|
||||||
|
MinDistance: 1
|
||||||
|
MaxDistance: 500
|
||||||
|
Pan2D: 0
|
||||||
|
rolloffMode: 0
|
||||||
|
BypassEffects: 0
|
||||||
|
BypassListenerEffects: 1
|
||||||
|
BypassReverbZones: 0
|
||||||
|
rolloffCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
- time: 1
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
panLevelCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 0
|
||||||
|
spreadCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
reverbZoneMixCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 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: 191714}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
8
Assets/Prefabs/DashSound.prefab.meta
Normal file
8
Assets/Prefabs/DashSound.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: df0221176ed8d3c4a91e31e791e5c0cc
|
||||||
|
timeCreated: 1460229916
|
||||||
|
licenseType: Pro
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -81,8 +81,11 @@ public class Asteroid : MonoBehaviour
|
|||||||
audio.bypassListenerEffects = true;
|
audio.bypassListenerEffects = true;
|
||||||
AudioSource.PlayClipAtPoint(audio.clip, transform.position, audio.volume);
|
AudioSource.PlayClipAtPoint(audio.clip, transform.position, audio.volume);
|
||||||
|
|
||||||
var wait = new WaitForSeconds(emitter.GetComponent<ParticleSystem>().duration);
|
|
||||||
|
|
||||||
|
// var wait = new WaitForSeconds(emitter.GetComponent<ParticleSystem>().duration);
|
||||||
//Destroy(emitter); //doesnt play if removed.
|
//Destroy(emitter); //doesnt play if removed.
|
||||||
|
Destroy(emitter, emitter.GetComponent<ParticleSystem>().duration);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -46,8 +46,8 @@ public class AsteroidSpawner : TimerFunctionsClass
|
|||||||
if (!GenerationVersLesjoueurs)
|
if (!GenerationVersLesjoueurs)
|
||||||
{
|
{
|
||||||
// Random entre 10 et 20, * 1 ou -1
|
// Random entre 10 et 20, * 1 ou -1
|
||||||
var x = UnityEngine.Random.Range(10.0f, 20.0f)*(Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f))*2 - 1);
|
var x = UnityEngine.Random.Range(30.0f, 40.0f)*(Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f))*2 - 1);
|
||||||
var y = UnityEngine.Random.Range(10.0f, 20.0f)*(Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f))*2 - 1);
|
var y = UnityEngine.Random.Range(20.0f, 30.0f)*(Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f))*2 - 1);
|
||||||
|
|
||||||
|
|
||||||
//0-3
|
//0-3
|
||||||
@ -78,7 +78,7 @@ public class AsteroidSpawner : TimerFunctionsClass
|
|||||||
float direction = (Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f)) * 2 - 1);
|
float direction = (Mathf.Floor(UnityEngine.Random.Range(0.0f, 1.99f)) * 2 - 1);
|
||||||
|
|
||||||
Instantiate(AsteroidPrefabTypes[AsteroidType],
|
Instantiate(AsteroidPrefabTypes[AsteroidType],
|
||||||
direction*planet.GetPlanetCoordinatesFromPlayerXY(angle, UnityEngine.Random.Range(10f,15f)),
|
direction*planet.GetPlanetCoordinatesFromPlayerXY(angle, UnityEngine.Random.Range(25f,35f)),
|
||||||
Quaternion.identity);
|
Quaternion.identity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@ public class Astronaut : MonoBehaviour {
|
|||||||
public GameObject Rotator;
|
public GameObject Rotator;
|
||||||
public SpriteRenderer SpriteWalk;
|
public SpriteRenderer SpriteWalk;
|
||||||
public GameObject SpriteDash;
|
public GameObject SpriteDash;
|
||||||
|
public GameObject SpriteStun;
|
||||||
|
|
||||||
public float SpriteWidth;
|
public float SpriteWidth;
|
||||||
public float SpriteHeight;
|
public float SpriteHeight;
|
||||||
@ -23,6 +24,7 @@ public class Astronaut : MonoBehaviour {
|
|||||||
public float Gravity;
|
public float Gravity;
|
||||||
public float Speed;
|
public float Speed;
|
||||||
public float EjectSpeed;
|
public float EjectSpeed;
|
||||||
|
|
||||||
//public float DashSpeed;
|
//public float DashSpeed;
|
||||||
|
|
||||||
public PlanetManager planet;
|
public PlanetManager planet;
|
||||||
@ -43,21 +45,9 @@ public class Astronaut : MonoBehaviour {
|
|||||||
|
|
||||||
if (oldState == AstronautState.Dashing)
|
if (oldState == AstronautState.Dashing)
|
||||||
{
|
{
|
||||||
_astronautAnimator.Land();
|
_astronautAnimator.Idle();
|
||||||
//SpriteWalk.gameObject.SetActive(false);
|
|
||||||
//SpriteDash.gameObject.SetActive(true);
|
|
||||||
}
|
}
|
||||||
//else if (_state == AstronautState.Jumping)
|
else if (State == AstronautState.Walking)
|
||||||
//{
|
|
||||||
// _astronautAnimator.Jump();
|
|
||||||
//}
|
|
||||||
/*else
|
|
||||||
{
|
|
||||||
SpriteWalk.gameObject.SetActive(true);
|
|
||||||
SpriteDash.gameObject.SetActive(false);
|
|
||||||
}*/
|
|
||||||
|
|
||||||
if (State == AstronautState.Walking)
|
|
||||||
{
|
{
|
||||||
_astronautAnimator.Walk(walkRight);
|
_astronautAnimator.Walk(walkRight);
|
||||||
}
|
}
|
||||||
@ -146,7 +136,7 @@ public class Astronaut : MonoBehaviour {
|
|||||||
if (State != AstronautState.Ejecting)
|
if (State != AstronautState.Ejecting)
|
||||||
vSpeed -= Gravity * delta;
|
vSpeed -= Gravity * delta;
|
||||||
else
|
else
|
||||||
vSpeed *= 0.98f;
|
vSpeed *= 0.99f;
|
||||||
}
|
}
|
||||||
|
|
||||||
float radius = GetGroundRadius();
|
float radius = GetGroundRadius();
|
||||||
@ -156,6 +146,7 @@ public class Astronaut : MonoBehaviour {
|
|||||||
if (State == AstronautState.Dashing)
|
if (State == AstronautState.Dashing)
|
||||||
{
|
{
|
||||||
planet.PushWedge(this.theta);
|
planet.PushWedge(this.theta);
|
||||||
|
State = AstronautState.Idle;
|
||||||
}
|
}
|
||||||
|
|
||||||
height = radius;
|
height = radius;
|
||||||
@ -165,47 +156,14 @@ public class Astronaut : MonoBehaviour {
|
|||||||
if (State < AstronautState.Ejecting) vSpeed = 0f;
|
if (State < AstronautState.Ejecting) vSpeed = 0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
UpdatePosition();
|
UpdatePosition();
|
||||||
|
|
||||||
//float x, y;
|
|
||||||
//
|
|
||||||
//PlanetUtilities.Spheric2Cartesian(theta, heightAtPos, out x, out y);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
/*
|
|
||||||
if (State == AstronautState.Walking)
|
|
||||||
{
|
|
||||||
walkTime += Time.deltaTime / StepTime;
|
|
||||||
Vector3 rotation = transform.rotation.eulerAngles;
|
|
||||||
rotation.z = Mathf.Sin(walkTime * Mathf.PI)*50; transform.rotation = Quaternion.Euler(rotation);
|
|
||||||
}*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
switch (State)
|
|
||||||
{
|
|
||||||
case AstronautState.Dashing:
|
|
||||||
|
|
||||||
break;
|
|
||||||
case AstronautState.Ejecting:
|
|
||||||
|
|
||||||
break;
|
|
||||||
case AstronautState.Idle:
|
|
||||||
|
|
||||||
break;
|
|
||||||
case AstronautState.Jumping:
|
|
||||||
|
|
||||||
break;
|
|
||||||
case AstronautState.Walking:
|
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Move(float x, float y)
|
public void Move(float x, float y)
|
||||||
{
|
{
|
||||||
|
if (State >= AstronautState.Dashing )
|
||||||
|
return;
|
||||||
|
|
||||||
float playerX, playerY;
|
float playerX, playerY;
|
||||||
PlanetUtilities.Spheric2Cartesian(theta - 108, height, out playerX, out playerY);
|
PlanetUtilities.Spheric2Cartesian(theta - 108, height, out playerX, out playerY);
|
||||||
|
|
||||||
@ -216,9 +174,6 @@ public class Astronaut : MonoBehaviour {
|
|||||||
|
|
||||||
float move = proj;
|
float move = proj;
|
||||||
|
|
||||||
if (State >= AstronautState.Ejecting )
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (State < AstronautState.Jumping)
|
if (State < AstronautState.Jumping)
|
||||||
{
|
{
|
||||||
if (Mathf.Approximately(move, 0))
|
if (Mathf.Approximately(move, 0))
|
||||||
@ -233,8 +188,6 @@ public class Astronaut : MonoBehaviour {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (State < AstronautState.Dashing)
|
|
||||||
{
|
|
||||||
if (-0.2 < move && move < 0.2) return;
|
if (-0.2 < move && move < 0.2) return;
|
||||||
|
|
||||||
float movement = PlanetUtilities.GetDisplacementAngle(Speed * -move, height) * Time.deltaTime;
|
float movement = PlanetUtilities.GetDisplacementAngle(Speed * -move, height) * Time.deltaTime;
|
||||||
@ -250,26 +203,18 @@ public class Astronaut : MonoBehaviour {
|
|||||||
|
|
||||||
theta = newTheta;
|
theta = newTheta;
|
||||||
}
|
}
|
||||||
if (State == AstronautState.Dashing && grounded)
|
|
||||||
{
|
|
||||||
//TODO arreter mouvement lateral
|
|
||||||
State=AstronautState.Idle;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Jump()
|
public void Jump()
|
||||||
{
|
{
|
||||||
|
if (State >= AstronautState.Dashing)
|
||||||
|
return;
|
||||||
|
|
||||||
if (State == AstronautState.Jumping)
|
if (State == AstronautState.Jumping)
|
||||||
{
|
{
|
||||||
Dash();
|
Dash();
|
||||||
//State=AstronautState.Dashing; //TODO relacher l'état Dashing
|
//State=AstronautState.Dashing; //TODO relacher l'état Dashing
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (State >= AstronautState.Dashing)
|
|
||||||
return;
|
|
||||||
else if (State >= AstronautState.Ejecting)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (!grounded) return;
|
if (!grounded) return;
|
||||||
|
|
||||||
@ -282,7 +227,6 @@ public class Astronaut : MonoBehaviour {
|
|||||||
|
|
||||||
public void Dash()
|
public void Dash()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (Time.time < DashTime + lastDashTime)
|
if (Time.time < DashTime + lastDashTime)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -312,13 +256,32 @@ public class Astronaut : MonoBehaviour {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void Stun()
|
public void Stun()
|
||||||
{
|
{
|
||||||
//TODO
|
if (State < AstronautState.Ejecting)
|
||||||
|
{
|
||||||
|
State = AstronautState.Stun;
|
||||||
|
StartCoroutine(StunTimeout());
|
||||||
|
_astronautAnimator.Stun();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
IEnumerator StunTimeout()
|
||||||
|
{
|
||||||
|
for (float i = 0f; i <0.6f; i += Time.deltaTime)
|
||||||
|
{
|
||||||
|
yield return null;
|
||||||
|
}
|
||||||
|
if (State < AstronautState.Ejecting)
|
||||||
|
{
|
||||||
|
State = AstronautState.Idle;
|
||||||
|
_astronautAnimator.Idle();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnGUI()
|
public void OnGUI()
|
||||||
{
|
{
|
||||||
if (GUI.Button(new Rect(10, 10, 150, 50), State.ToString()))
|
if (GUI.Button(new Rect(10, 10, 150, 50), State.ToString()))
|
||||||
{
|
{
|
||||||
|
Stun();
|
||||||
Debug.Log("Clicked the button with an image");
|
Debug.Log("Clicked the button with an image");
|
||||||
//_astronautAnimator.Walk();
|
//_astronautAnimator.Walk();
|
||||||
//Eject();
|
//Eject();
|
||||||
|
|||||||
@ -9,6 +9,9 @@ public class AstronautAnimator : MonoBehaviour {
|
|||||||
public float WalkAnimAngle;
|
public float WalkAnimAngle;
|
||||||
public float EjectSpinSpeed;
|
public float EjectSpinSpeed;
|
||||||
|
|
||||||
|
private GameObject runninParticleEmitter;
|
||||||
|
public GameObject DashImpactSound;
|
||||||
|
public GameObject DashParticleSystem;
|
||||||
public GameObject DustParticlesEmitter;
|
public GameObject DustParticlesEmitter;
|
||||||
// Use this for initialization
|
// Use this for initialization
|
||||||
protected void Start () {
|
protected void Start () {
|
||||||
@ -24,24 +27,43 @@ public class AstronautAnimator : MonoBehaviour {
|
|||||||
{
|
{
|
||||||
aspi.SpriteWalk.gameObject.SetActive(true);
|
aspi.SpriteWalk.gameObject.SetActive(true);
|
||||||
aspi.SpriteDash.gameObject.SetActive(false);
|
aspi.SpriteDash.gameObject.SetActive(false);
|
||||||
|
aspi.SpriteStun.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dash()
|
public void Dash()
|
||||||
{
|
{
|
||||||
aspi.SpriteWalk.gameObject.SetActive(false);
|
aspi.SpriteWalk.gameObject.SetActive(false);
|
||||||
aspi.SpriteDash.gameObject.SetActive(true);
|
aspi.SpriteDash.gameObject.SetActive(true);
|
||||||
|
aspi.SpriteStun.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Land()
|
public void Idle()
|
||||||
{
|
{
|
||||||
|
|
||||||
aspi.SpriteWalk.gameObject.SetActive(true);
|
aspi.SpriteWalk.gameObject.SetActive(true);
|
||||||
aspi.SpriteDash.gameObject.SetActive(false);
|
aspi.SpriteDash.gameObject.SetActive(false);
|
||||||
|
aspi.SpriteStun.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Land()
|
||||||
|
{
|
||||||
|
//from dash state
|
||||||
|
runninParticleEmitter = (GameObject)Instantiate(DashParticleSystem, this.gameObject.transform.position, Quaternion.identity);
|
||||||
|
runninParticleEmitter.transform.Rotate(0,180f,0.0f);
|
||||||
|
|
||||||
|
Destroy(runninParticleEmitter, runninParticleEmitter.GetComponent<ParticleSystem>().duration);
|
||||||
|
Idle();
|
||||||
|
|
||||||
|
var impactAudio = DashImpactSound.GetComponent<AudioSource>();
|
||||||
|
impactAudio.bypassListenerEffects = true;
|
||||||
|
AudioSource.PlayClipAtPoint(impactAudio.clip, transform.position, impactAudio.volume);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public void Walk(bool right)
|
public void Walk(bool right)
|
||||||
{
|
{
|
||||||
Debug.Log("Walking!");
|
|
||||||
StartCoroutine(Rotate(right? -1 : 1));
|
StartCoroutine(Rotate(right? -1 : 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,6 +73,14 @@ public class AstronautAnimator : MonoBehaviour {
|
|||||||
var audio = aspi.GetComponent<AudioSource>(); //eject sound
|
var audio = aspi.GetComponent<AudioSource>(); //eject sound
|
||||||
audio.bypassListenerEffects = true;
|
audio.bypassListenerEffects = true;
|
||||||
AudioSource.PlayClipAtPoint(audio.clip, transform.position, audio.volume);
|
AudioSource.PlayClipAtPoint(audio.clip, transform.position, audio.volume);
|
||||||
|
Stun();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Stun()
|
||||||
|
{
|
||||||
|
aspi.SpriteWalk.gameObject.SetActive(false);
|
||||||
|
aspi.SpriteDash.gameObject.SetActive(false);
|
||||||
|
aspi.SpriteStun.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator Spin()
|
IEnumerator Spin()
|
||||||
@ -80,14 +110,11 @@ public class AstronautAnimator : MonoBehaviour {
|
|||||||
|
|
||||||
if (aspi.State == Astronaut.AstronautState.Walking)
|
if (aspi.State == Astronaut.AstronautState.Walking)
|
||||||
{
|
{
|
||||||
Debug.Log("Walking again");
|
|
||||||
StartCoroutine(Rotate(-side));
|
StartCoroutine(Rotate(-side));
|
||||||
}
|
}
|
||||||
else
|
|
||||||
Debug.Log("Walking stop");
|
|
||||||
//yield return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void EmitDustParticules()
|
public void EmitDustParticules()
|
||||||
{
|
{
|
||||||
if (DustParticlesEmitter)
|
if (DustParticlesEmitter)
|
||||||
|
|||||||
23
Assets/SelfDestroy.cs
Normal file
23
Assets/SelfDestroy.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class SelfDestroy : MonoBehaviour
|
||||||
|
{
|
||||||
|
public GameObject PrefabPs;
|
||||||
|
|
||||||
|
private ParticleSystem ps;
|
||||||
|
|
||||||
|
// Use this for initialization
|
||||||
|
public void Start ()
|
||||||
|
{
|
||||||
|
ps = PrefabPs.GetComponent<ParticleSystem>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
public void FixedUpdate () {
|
||||||
|
if (ps && !ps.IsAlive())
|
||||||
|
{
|
||||||
|
Destroy(this.gameObject);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/SelfDestroy.cs.meta
Normal file
12
Assets/SelfDestroy.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6d2a1a0c2c72c8f4a8876a5101e76b8d
|
||||||
|
timeCreated: 1460228472
|
||||||
|
licenseType: Pro
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sounds/A_SFX_Dash_Impact_01.wav
Normal file
BIN
Assets/Sounds/A_SFX_Dash_Impact_01.wav
Normal file
Binary file not shown.
22
Assets/Sounds/A_SFX_Dash_Impact_01.wav.meta
Normal file
22
Assets/Sounds/A_SFX_Dash_Impact_01.wav.meta
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f018620a0cec23042bca100d556e0c53
|
||||||
|
timeCreated: 1460229772
|
||||||
|
licenseType: Pro
|
||||||
|
AudioImporter:
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/_Scenes/Main.meta
Normal file
9
Assets/_Scenes/Main.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f0e36f3fa2b132e429c615a1d1766c44
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1460225092
|
||||||
|
licenseType: Pro
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -14,13 +14,13 @@ SceneSettings:
|
|||||||
RenderSettings:
|
RenderSettings:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Fog: 0
|
m_Fog: 1
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
m_FogColor: {r: 0.030330881, g: 0.040580597, b: 0.24264705, a: 1}
|
||||||
m_FogMode: 3
|
m_FogMode: 3
|
||||||
m_FogDensity: 0.01
|
m_FogDensity: 0.2
|
||||||
m_LinearFogStart: 0
|
m_LinearFogStart: 0
|
||||||
m_LinearFogEnd: 300
|
m_LinearFogEnd: 300
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
m_AmbientSkyColor: {r: 0.08235294, g: 0.16078432, b: 0.30980393, a: 1}
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||||
m_AmbientIntensity: 1
|
m_AmbientIntensity: 1
|
||||||
@ -66,7 +66,8 @@ LightmapSettings:
|
|||||||
m_FinalGather: 0
|
m_FinalGather: 0
|
||||||
m_FinalGatherRayCount: 1024
|
m_FinalGatherRayCount: 1024
|
||||||
m_ReflectionCompression: 2
|
m_ReflectionCompression: 2
|
||||||
m_LightingDataAsset: {fileID: 0}
|
m_LightingDataAsset: {fileID: 112000001, guid: 737d929c9389ea44bbdf6cbee9d9e13b,
|
||||||
|
type: 2}
|
||||||
m_RuntimeCPUUsage: 25
|
m_RuntimeCPUUsage: 25
|
||||||
--- !u!196 &4
|
--- !u!196 &4
|
||||||
NavMeshSettings:
|
NavMeshSettings:
|
||||||
@ -85,12 +86,16 @@ NavMeshSettings:
|
|||||||
cellSize: 0.16666667
|
cellSize: 0.16666667
|
||||||
manualCellSize: 0
|
manualCellSize: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!4 &10252813 stripped
|
||||||
|
Transform:
|
||||||
|
m_PrefabParentObject: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 1267123519}
|
||||||
--- !u!1001 &72971843
|
--- !u!1001 &72971843
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Modification:
|
m_Modification:
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 345530093}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
@ -122,7 +127,7 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 6
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: planet
|
propertyPath: planet
|
||||||
@ -136,10 +141,42 @@ Prefab:
|
|||||||
propertyPath: m_Enabled
|
propertyPath: m_Enabled
|
||||||
value: 1
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 11434752, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: PlayerNumber
|
propertyPath: m_Color.r
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0.972414
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0.972414
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 19831948, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: playOnAwake
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0.96862745
|
||||||
|
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
|
||||||
@ -197,10 +234,45 @@ SpriteRenderer:
|
|||||||
m_LightmapParameters: {fileID: 0}
|
m_LightmapParameters: {fileID: 0}
|
||||||
m_SortingLayerID: 0
|
m_SortingLayerID: 0
|
||||||
m_SortingOrder: 0
|
m_SortingOrder: 0
|
||||||
m_Sprite: {fileID: 0}
|
m_Sprite: {fileID: 21300000, guid: 8d3ba69018238ee4f9629282ea7d9fcf, type: 3}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_FlipX: 0
|
m_FlipX: 0
|
||||||
m_FlipY: 0
|
m_FlipY: 0
|
||||||
|
--- !u!1 &345530092
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 345530093}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Players
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &345530093
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 345530092}
|
||||||
|
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: 1419848163}
|
||||||
|
- {fileID: 780956563}
|
||||||
|
- {fileID: 1297255189}
|
||||||
|
- {fileID: 10252813}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 6
|
||||||
|
--- !u!4 &780956563 stripped
|
||||||
|
Transform:
|
||||||
|
m_PrefabParentObject: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 1660116367}
|
||||||
--- !u!1001 &894002996
|
--- !u!1001 &894002996
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -316,56 +388,6 @@ 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 &1166215621
|
|
||||||
Prefab:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 0.11
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 8
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: SpriteWidth
|
|
||||||
value: 0.4
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
propertyPath: SpriteHeight
|
|
||||||
value: 0.3
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
|
||||||
m_IsPrefabParent: 0
|
|
||||||
--- !u!1001 &1223268487
|
--- !u!1001 &1223268487
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -403,15 +425,125 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
- target: {fileID: 456206, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 1
|
value: 3
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 11485214, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
- target: {fileID: 11485214, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
propertyPath: NextSpawnTime
|
propertyPath: NextSpawnTime
|
||||||
value: 1
|
value: 2.5
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &1267123519
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 345530093}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0.11
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: planet
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 1027139440}
|
||||||
|
- target: {fileID: 154602, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Astronaut_3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11491252, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: WalkAnimSpeed
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11491252, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: WalkAnimAngle
|
||||||
|
value: 20
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11491252, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: EjectSpinSpeed
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 154602, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11434752, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: PlayerNumber
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Enabled
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0.9724139
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0.9724139
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0.96862745
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!4 &1297255189 stripped
|
||||||
|
Transform:
|
||||||
|
m_PrefabParentObject: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 1787240539}
|
||||||
|
--- !u!4 &1419848163 stripped
|
||||||
|
Transform:
|
||||||
|
m_PrefabParentObject: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
m_PrefabInternal: {fileID: 72971843}
|
||||||
--- !u!1001 &1469146136
|
--- !u!1001 &1469146136
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -461,25 +593,71 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 11401034, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
- target: {fileID: 11401034, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
propertyPath: CriticalMax
|
propertyPath: CriticalMax
|
||||||
value: 0.9
|
value: 0.75
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 11401034, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
|
||||||
propertyPath: ExplosionTime
|
|
||||||
value: 10
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11401034, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
|
||||||
propertyPath: ExplosionParticle
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 143434, guid: a63c057a7a113a349b55d0ae61d0c936, type: 2}
|
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: 198e988adacced646a19f757f6237ae1, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &1481633668
|
||||||
|
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}
|
||||||
|
- target: {fileID: 11485214, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: NextSpawnTime
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 183270, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: RandomAsteroidSpawner
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11485214, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
propertyPath: GenerationVersLesjoueurs
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: e86e27c7b6d9c824cb76115e90a15cac, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
--- !u!1001 &1660116367
|
--- !u!1001 &1660116367
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Modification:
|
m_Modification:
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 345530093}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
@ -511,7 +689,7 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 3
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
propertyPath: planet
|
propertyPath: planet
|
||||||
@ -545,6 +723,148 @@ Prefab:
|
|||||||
propertyPath: m_Enabled
|
propertyPath: m_Enabled
|
||||||
value: 1
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0.72156864
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0.09803922
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0.72156864
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0.09803922
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0.72156864
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 0.09803922
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 100100000, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
m_IsPrefabParent: 0
|
||||||
|
--- !u!1001 &1787240539
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 345530093}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0.11
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 494126, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11494368, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: planet
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 1027139440}
|
||||||
|
- target: {fileID: 154602, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Astronaut_2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11491252, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: WalkAnimSpeed
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11491252, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: WalkAnimAngle
|
||||||
|
value: 20
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11491252, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: EjectSpinSpeed
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 154602, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11434752, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: PlayerNumber
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Enabled
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 0.07586192
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21257324, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 0.07586192
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21220066, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.b
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.r
|
||||||
|
value: 0.07450981
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21293154, guid: acd71c7b2f995984d9033c9dc4e257dc, type: 2}
|
||||||
|
propertyPath: m_Color.g
|
||||||
|
value: 0
|
||||||
|
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
|
||||||
@ -565,7 +885,7 @@ Prefab:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 0
|
value: 0.1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
- target: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
propertyPath: m_LocalRotation.x
|
propertyPath: m_LocalRotation.x
|
||||||
@ -591,6 +911,11 @@ Prefab:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Stars behind
|
value: Stars behind
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 21286820, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
|
propertyPath: m_Sprite
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 21300000, guid: 7443ae7f877013a42941481b83fee96b,
|
||||||
|
type: 3}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
@ -598,6 +923,64 @@ Prefab:
|
|||||||
Transform:
|
Transform:
|
||||||
m_PrefabParentObject: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
m_PrefabParentObject: {fileID: 483280, guid: 8347d06db0c264442891d12282c4a4dd, type: 2}
|
||||||
m_PrefabInternal: {fileID: 1867085521}
|
m_PrefabInternal: {fileID: 1867085521}
|
||||||
|
--- !u!1 &1914489644
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 1914489645}
|
||||||
|
- 212: {fileID: 1914489646}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: infinity
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &1914489645
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1914489644}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0.5}
|
||||||
|
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 1867085522}
|
||||||
|
m_RootOrder: 2
|
||||||
|
--- !u!212 &1914489646
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1914489644}
|
||||||
|
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: 0}
|
||||||
|
m_Color: {r: 0.08235294, g: 0.16078432, b: 0.30980393, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
--- !u!1 &1945693977
|
--- !u!1 &1945693977
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -647,7 +1030,7 @@ Camera:
|
|||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_ClearFlags: 1
|
m_ClearFlags: 1
|
||||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
|
m_BackGroundColor: {r: 0.08235294, g: 0.16078432, b: 0.30588236, a: 0.019607844}
|
||||||
m_NormalizedViewPortRect:
|
m_NormalizedViewPortRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
@ -658,7 +1041,7 @@ Camera:
|
|||||||
far clip plane: 1000
|
far clip plane: 1000
|
||||||
field of view: 60
|
field of view: 60
|
||||||
orthographic: 1
|
orthographic: 1
|
||||||
orthographic size: 5
|
orthographic size: 9.36
|
||||||
m_Depth: -1
|
m_Depth: -1
|
||||||
m_CullingMask:
|
m_CullingMask:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
|
|||||||
BIN
Assets/_Scenes/Main/LightingData.asset
Normal file
BIN
Assets/_Scenes/Main/LightingData.asset
Normal file
Binary file not shown.
8
Assets/_Scenes/Main/LightingData.asset.meta
Normal file
8
Assets/_Scenes/Main/LightingData.asset.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 737d929c9389ea44bbdf6cbee9d9e13b
|
||||||
|
timeCreated: 1460225132
|
||||||
|
licenseType: Pro
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Loading…
x
Reference in New Issue
Block a user