常用方法
常用方法
常用方法
常用方法
public void ChangeState(CharacterState newState, int aniNumber) { if (currentState == newState) { return; } myAni.ChangeAnim(aniNumber); currentState = newState; }
public void ChangeState(CharacterState newState, int aniNumber) { if (currentState == newState) { return; } myAni.ChangeAnim(aniNumber); currentState = newState; }