Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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;
        }