Example #1
0
    public override void WhenSpawn()
    {
        ani_State = "isWalk";

        CurrentState = wolf_Wander;
        GlobalState  = wolf_Global;
        coroutine    = CurrentState.Excute(this);

        StartCoroutine(coroutine);
        ani.SetBool("isWalk", true);
        StartCoroutine(GlobalState.Excute(this));
        StartCoroutine(fov.DelayFieldOfView());
    }