/**
         * <summary>Creates a new instance of the 'ActionList: Pause or resume' Action, set to resume an ActionList asset</summary>
         * <param name = "actionListAsset">The ActionList to resume</param>
         * <param name = "rerunLastAction">If True, the Action which was running at the time the ActionList was previously paused will be re-run</param>
         * <returns>The generated Action</returns>
         */
        public static ActionPauseActionList CreateNew_Resume(ActionListAsset actionListAsset, bool rerunLastAction = false)
        {
            ActionPauseActionList newAction = (ActionPauseActionList)CreateInstance <ActionPauseActionList>();

            newAction.pauseResume        = PauseResume.Resume;
            newAction.listSource         = ActionRunActionList.ListSource.AssetFile;
            newAction.actionListAsset    = actionListAsset;
            newAction.rerunPausedActions = rerunLastAction;
            return(newAction);
        }
        /**
         * <summary>Creates a new instance of the 'ActionList: Pause or resume' Action, set to pause an ActionList</summary>
         * <param name = "actionListAsset">The ActionList asset to pause</param>
         * <param name = "waitUntilFinish">If True, any Actions currently running in the ActionList will complete before it is paused</param>
         * <returns>The generated Action</returns>
         */
        public static ActionPauseActionList CreateNew_Pause(ActionListAsset actionListAsset, bool waitUntilFinish = false)
        {
            ActionPauseActionList newAction = (ActionPauseActionList)CreateInstance <ActionPauseActionList>();

            newAction.pauseResume     = PauseResume.Pause;
            newAction.listSource      = ActionRunActionList.ListSource.AssetFile;
            newAction.actionListAsset = actionListAsset;
            newAction.willWait        = waitUntilFinish;
            return(newAction);
        }