private void UpdateState(MutantBodyStates state) { switch (state) { case MutantBodyStates.Idle: this.ParentCharacter.CurrentAnimState = new MutantAnimStateIdle(this); break; } }
private void UpdateState(MutantBodyStates state) { switch(state) { case MutantBodyStates.Idle: this.ParentCharacter.CurrentAnimState = new MutantAnimStateIdle(this); break; } }
private void UpdateState(MutantBodyStates state) { switch (state) { case MutantBodyStates.Move: //Debug.Log("switching to move mutant state"); this.ParentCharacter.CurrentAnimState = new MutantAnimStateMove(this); break; } }