![]() |
Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
|
Classes | |
struct | GUIData |
Public Member Functions | |
virtual List< ActionListAsset > | GetReferencedActionListAssets () |
Gets a List of all ActionList assets referenced by the component. | |
virtual bool | ReferencesAsset (ActionListAsset actionListAsset) |
bool | ReferencesObjectOrID (GameObject _gameObject, int id) |
Static Public Member Functions | |
static void | BulkAssignParameterValues (List< ActionParameter > externalParameters, List< ActionParameter > fromParameters, bool sendingToAsset, bool _isAssetFile) |
Transfers values from one list of parameters to another. | |
static GUIData | SyncLists (List< ActionParameter > externalParameters, GUIData originalGUIData) |
Syncronises two lists of parameters so that their sizes and IDs match. | |
static GUIData | SetParametersGUI (List< ActionParameter > externalParameters, bool isAssetFile, GUIData guiData, List< ActionParameter > ownParameters=null) |
Protected Member Functions | |
void | AssignParameterValues (ActionList _actionList, int runIndex=0) |
Updates an ActionLists's parameter values with its own. | |
void | AssignParameterValues (ActionListAsset _actionListAsset, int runIndex=0) |
Updates an ActionList asset's parameter values with its own. | |
List< ActionParameter > | GetFromParameters (int index) |
List< ActionListAsset > | GetAssetsFromParameterGUIData (SetParametersBase.GUIData guiData, List< ActionListAsset > existingList) |
void | ShowParametersGUI (List< ActionParameter > externalParameters, bool isAssetFile, bool runMultipleTimes=false) |
Static Protected Member Functions | |
static int | FieldToID< T > (bool isAssetFile, T field, int _constantID, bool alwaysAssign=false) |
static T | IDToField< T > (bool isAssetFile, T field, int _constantID, bool moreInfo) |
Protected Attributes | |
GUIData | initialGUIData = new GUIData (new List<ActionParameter>(), new List<int>()) |
GUIData[] | successiveGUIData = new GUIData[0] |
A base class to handle the setting and transferring of ActionParameter values in bulk.
|
protected |
Updates an ActionLists's parameter values with its own.
_actionList | The ActionList to update |
|
protected |
Updates an ActionList asset's parameter values with its own.
_actionListAsset | The ActionList asset to update |
|
static |
Transfers values from one list of parameters to another.
externalParameters | The parameters to update |
fromParameters | The parameters to get the new values from |
sendingToAsset | If True, the parameters to update are part of an asset file |
_isAssetFile | If True, the parameters to get the new values from are part of an asset file |
|
staticprotected |
T | : | Behaviour |
|
virtual |
Gets a List of all ActionList assets referenced by the component.
Implements AC.iActionListAssetReferencer.
Reimplemented in AC.ActionListStarter.
|
staticprotected |
T | : | Behaviour |
|
virtual |
Implements AC.iActionListAssetReferencer.
|
static |
Syncronises two lists of parameters so that their sizes and IDs match.
externalParameters | The parameters that will be updated by the component |
guiData | Data about the parameters to get the values from |