protected override void Awake() { base.Awake(); m_XMovement = GetComponent <mg_if_XMovement>(); m_YMovement = GetComponent <mg_if_YMovement>(); m_BobMovement = new mg_if_BobMovement(m_variables.ExtraLifeBobTimeRate, m_variables.ExtraLifeBobAmplitude, m_variables.ExtraLifeBobTimeOffset); m_animator = GetComponentInChildren <Animator>(); }
protected override void Awake() { base.Awake(); m_BobMovement = new mg_if_BobMovement(m_variables.KickerBobTimeRate, m_variables.KickerBobAmplitude, m_variables.KickerBobTimeOffset); }