/** * <summary>Creates a new instance of the 'ActionList: Kill' Action</summary> * <param name = "actionListAsset">The ActionList asset to kill</param> * <returns>The generated Action</returns> */ public static ActionStopActionList CreateNew(ActionListAsset actionListAsset) { ActionStopActionList newAction = (ActionStopActionList)CreateInstance <ActionStopActionList>(); newAction.listSource = ListSource.AssetFile; newAction.invActionList = actionListAsset; return(newAction); }
/** * <summary>Creates a new instance of the 'ActionList: Kill' Action</summary> * <param name = "actionList">The ActionList to kill</param> * <returns>The generated Action</returns> */ public static ActionStopActionList CreateNew(ActionList actionList) { ActionStopActionList newAction = (ActionStopActionList)CreateInstance <ActionStopActionList>(); newAction.listSource = ListSource.InScene; newAction.actionList = actionList; return(newAction); }