예제 #1
0
파일: baseAI.cs 프로젝트: fuzhoustone/csd
    //切换动作状态
    public void PlayAIState(roleState state)
    {
        if (aniCon == null)
        {
            aniCon = this.gameObject.GetComponent <IbaseAnimator>();
        }

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

        tmpAni.PlayState(roleState.stand);
    }