// Start is called before the first frame update protected void Start() { m_changeState = ANIMAL_STATES.WALK; base.Start(); if (GetComponentInChildren <ParticleSystem>()) { GetComponentInChildren <ParticleSystem>().Stop(); } }
public void SetState(ANIMAL_STATES newState) { m_changeState = newState; }