28 lines
692 B
C#
28 lines
692 B
C#
using FSM;
|
|
using TMPro;
|
|
namespace YiLiao.JingMaiLiuZhiZhen
|
|
{
|
|
public class SongDongWaiGuanTaoState : FsmState<FSMManager>
|
|
{
|
|
public override void OnStateEnter()
|
|
{
|
|
base.OnStateEnter();
|
|
fsm.ShowTip(0, true);
|
|
fsm.PlayBgm(0, true);
|
|
fsm.ShowCamera("SongDongWaiGuanTaoState_Camera");
|
|
fsm.PlayClip("Ëɶ¯Íâ¹ÜÌ×", () => {
|
|
fsm.nextState = true;
|
|
});
|
|
}
|
|
public override void OnStateStay()
|
|
{
|
|
base.OnStateStay();
|
|
}
|
|
public override void OnStateExit()
|
|
{
|
|
base.OnStateExit();
|
|
fsm.nextState = false;
|
|
}
|
|
}
|
|
}
|