27 lines
659 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using FSM;
namespace DongWuYiXue.DaoNiaoShu
{
public class DaKaiDaoNiaoGuanState : FsmState<FSMManager>
{
public override void OnStateEnter()
{
base.OnStateEnter();
this.Log("½øÈë´ò¿ªµ¼Äò¹Ü״̬");
fsm.ShowCamera("´ò¿ªµ¼Äò¹Ü_Camera");
fsm.PlayClip("´ò¿ªµ¼Äò¹Ü_TimeLine", () =>
{
fsm.nextState = true;
});
}
public override void OnStateStay()
{
base.OnStateStay();
}
public override void OnStateExit()
{
base.OnStateExit();
fsm.nextState = false;
}
}
}