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