Beispiel #1
0
 public void OnUpdate(GuestCtrlNormal ctrl)
 {
     ctrl.m_time -= Time.deltaTime;
     if (ctrl.m_time <= 0.0f)
     {
         ctrl.SetState <CtrlStateExit>();
     }
 }
Beispiel #2
0
 public void OnHitBullet(GuestCtrlNormal ctrl)
 {
     ctrl.SetState <CtrlStateStay>();
 }
Beispiel #3
0
 public void OnNearTarget(GuestCtrlNormal ctrl)
 {
     ctrl.SetState <CtrlStateWait>();
 }