コード例 #1
0
 public void SSActionEvent(SSAction source,
                           SSActionEventType events = SSActionEventType.Competeted,
                           int intParam             = 0,
                           string strParam          = null)
 {
     runSequence.Remove(source);
     if (events == SSActionEventType.Unfinish)
     {
         SSAction action = ArrowShakeAction.GetSSAction(source.gameobject, this);
         addAction(action);
     }
     else if (events == SSActionEventType.Reload)
     {
         this.callback.SSActionEvent(source);
     }
 }
コード例 #2
0
        public void shake(GameObject arrow)
        {
            SSAction action = ArrowShakeAction.GetSSAction(arrow, this);

            addAction(action);
        }