Beispiel #1
0
 public override void Execute(NPC npc)
 {
     if (LogSystem.IfSpeakEnded())
     {
         npc.ChangeState(new TalkState13());
     }
 }
Beispiel #2
0
 public override void Execute(NPC npc)
 {
     if (LogSystem.IfSpeakEnded())
     {
         npc.ChangeState(new StandState());
         ItemSystem.AddItem("小钥匙");
     }
 }
Beispiel #3
0
 public override void Enter(Machine machine)
 {
     machine.animator.SetBool("ifWin", true);
     LogSystem.Speak("我赢了", Player.current);
     LogSystem.IfSpeakEnded();//清空对话检测缓冲【重要】
 }
Beispiel #4
0
 public override void Enter(Machine machine)
 {
     LogSystem.Speak("哎呀好难啊~", Player.current);
     LogSystem.IfSpeakEnded();//清空对话检测缓冲【重要】
     machine.ChangeState(new 胜利前());
 }