/** * <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); } }
/** * <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); } }
/** * <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; }