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