Beispiel #1
0
 //public Quaternion lastMeteorUnit = Quaternion.identity;
 private new void Awake()
 {
     base.Awake();
     mInstance  = this;
     touchBoxes = GetComponents <BoxCollider>();
     ResetJoystick();
 }
 void OnDestroy()
 {
     ResetJoystick();
     mInstance = null;
 }
 //public Quaternion lastMeteorUnit = Quaternion.identity;
 void Awake()
 {
     ResetJoystick();
     mInstance = this;
 }
Beispiel #4
0
 //public Quaternion lastMeteorUnit = Quaternion.identity;
 void Awake()
 {
     mInstance  = this;
     touchBoxes = GetComponents <BoxCollider>();
     ResetJoystick();
 }
Beispiel #5
0
 private new void OnDestroy()
 {
     base.OnDestroy();
     ResetJoystick();
     mInstance = null;
 }