//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; }
//public Quaternion lastMeteorUnit = Quaternion.identity; void Awake() { mInstance = this; touchBoxes = GetComponents <BoxCollider>(); ResetJoystick(); }
private new void OnDestroy() { base.OnDestroy(); ResetJoystick(); mInstance = null; }