Beispiel #1
0
    //切换动作状态
    public void PlayAIState(roleState state)
    {
        if (aniCon == null)
        {
            aniCon = this.gameObject.GetComponent <IbaseAnimator>();
        }

        aniCon.PlayState(state);
    }
Beispiel #2
0
    public override void stateStandEnd()
    {
        IbaseAnimator tmpAni = this.transform.GetComponent <IbaseAnimator>();

        tmpAni.PlayState(roleState.stand);
    }