/// /// Monobehavior Methods /// void Awake() { m_accelerate = false; m_turnDirection = 0; m_accelPercent = 1.0f; m_rigidbody = GetComponent <Rigidbody2D>(); m_rigidbody.centerOfMass = Vector2.zero; m_soundSystem = GetComponent <SoundSystemScript>(); }
protected void Init() { ApplyModifier(); m_soundSystem = GetComponent <SoundSystemScript>(); }
protected void Init() { m_soundSystem = GetComponent <SoundSystemScript>(); }
protected void Init() { ApplyModifier(); m_soundSystem = GetComponent<SoundSystemScript>(); }
/// /// Monobehavior Methods /// void Awake() { m_accelerate = false; m_turnDirection = 0; m_accelPercent = 1.0f; m_rigidbody = GetComponent<Rigidbody2D>(); m_rigidbody.centerOfMass = Vector2.zero; m_soundSystem = GetComponent<SoundSystemScript>(); }