예제 #1
0
 /**
  * <summary>Resumes the associated ActionList, if it had previously been paused.</summary>
  * <param name = "runtimeActionList">The RuntimeActionList to re-associate the class with</param>
  * <param name = "rerunPausedActions">If True, then any Actions that were midway-through running when the ActionList was paused will be restarted. Otherwise, the Actions that follow them will be reun instead.</param>
  */
 public void Resume(RuntimeActionList runtimeActionList = null, bool rerunPausedActions = false)
 {
     if (runtimeActionList != null)
     {
         actionList = runtimeActionList;
         runtimeActionList.Resume(startIndex, resumeIndices, parameterData, rerunPausedActions);
     }
     else
     {
         actionList.Resume(startIndex, resumeIndices, parameterData, rerunPausedActions);
     }
 }
예제 #2
0
 /**
  * <summary>Resumes the associated ActionList, if it had previously been paused.</summary>
  * <param name = "runtimeActionList">The RuntimeActionList to re-associate the class with</param>
  */
 public void Resume(RuntimeActionList runtimeActionList = null)
 {
     if (runtimeActionList != null)
     {
         actionList = runtimeActionList;
         runtimeActionList.Resume(startIndex, resumeIndices, parameterData);
     }
     else
     {
         actionList.Resume(startIndex, resumeIndices, parameterData);
     }
 }
예제 #3
0
        /**
         * <summary>Resumes the associated ActionList, if it had previously been paused.</summary>
         * <param name = "runtimeActionList">The RuntimeActionList to re-associate the class with</param>
         * <param name = "rerunPausedActions">If True, then any Actions that were midway-through running when the ActionList was paused will be restarted. Otherwise, the Actions that follow them will be reun instead.</param>
         */
        public void Resume(RuntimeActionList runtimeActionList = null, bool rerunPausedActions = false)
        {
            if (runtimeActionList != null)
            {
                actionList = runtimeActionList;
                runtimeActionList.Resume(startIndex, resumeIndices, parameterData, rerunPausedActions);
            }
            else
            {
                actionList.Resume(startIndex, resumeIndices, parameterData, rerunPausedActions);
            }

            gamePausedWhenStarted = (KickStarter.stateHandler != null) ? KickStarter.stateHandler.IsPaused() : false;
        }