コード例 #1
0
 public void SSActionEvent(SSAction source, GameObject arrow = null)
 {
     if (arrow != null)
     {
         ArrowTremble tremble = ArrowTremble.GetSSAction();
         this.RunAction(arrow, tremble, this);
     }
     else
     {
         Controllor scene_controller = (Controllor)SSDirector.GetInstance().CurrentSceneControllor;
     }
 }
コード例 #2
0
 public void SSActionEvent(SSAction source, GameObject arrow = null)
 {
     //vibration
     if (arrow != null)
     {
         ArrowTremble tremble = ArrowTremble.GetSSAction();
         this.RunAction(arrow, tremble, this);
     }
     else
     {
         //reduce arrow
         FirstSceneController scene_controller = (FirstSceneController)SSDirector.GetInstance().CurrentScenceController;
         scene_controller.CheckGamestatus();
     }
 }