Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.SetInteractionParameters Class Reference
Inheritance diagram for AC.SetInteractionParameters:
AC.SetParametersBase AC.iActionListAssetReferencer

Public Member Functions

void ShowGUI ()
 
- Public Member Functions inherited from AC.SetParametersBase
virtual List< ActionListAssetGetReferencedActionListAssets ()
 Gets a List of all ActionList assets referenced by the component More...
 
virtual bool ReferencesAsset (ActionListAsset actionListAsset)
 
bool ReferencesObjectOrID (GameObject _gameObject, int id)
 

Protected Types

enum  InteractionType { Use, Examine, Inventory, UnhandledInventory }
 

Protected Member Functions

void OnEnable ()
 
void OnDisable ()
 
void OnHotspotInteract (Hotspot hotspot, Button button)
 
void ShowParametersGUI (Button button, string label)
 
void ShowParametersGUI (Interaction interaction)
 
void ShowParametersGUI (ActionListAsset actionListAsset)
 
void ShowActionListReference (Interaction interaction)
 
void ShowActionListReference (ActionListAsset actionListAsset)
 
void ProcessButton (AC.Button button)
 
- Protected Member Functions inherited from AC.SetParametersBase
void AssignParameterValues (ActionList _actionList, int runIndex=0)
 Updates an ActionLists's parameter values with its own More...
 
void AssignParameterValues (ActionListAsset _actionListAsset, int runIndex=0)
 Updates an ActionList asset's parameter values with its own More...
 
List< ActionParameterGetFromParameters (int index)
 
List< ActionListAssetGetAssetsFromParameterGUIData (SetParametersBase.GUIData guiData, List< ActionListAsset > existingList)
 
void ShowParametersGUI (List< ActionParameter > externalParameters, bool isAssetFile, bool runMultipleTimes=false)
 

Protected Attributes

Hotspot hotspot = null
 
InteractionType interactionType = InteractionType.Use
 
int buttonIndex = 0
 
- Protected Attributes inherited from AC.SetParametersBase
GUIData initialGUIData = new GUIData (new List<ActionParameter>(), new List<int>())
 
GUIData[] successiveGUIData = new GUIData[0]
 

Additional Inherited Members

- Static Public Member Functions inherited from AC.SetParametersBase
static void BulkAssignParameterValues (List< ActionParameter > externalParameters, List< ActionParameter > fromParameters, bool sendingToAsset, bool _isAssetFile)
 Transfers values from one list of parameters to another More...
 
static GUIData SyncLists (List< ActionParameter > externalParameters, GUIData originalGUIData)
 Syncronises two lists of parameters so that their sizes and IDs match More...
 
static GUIData SetParametersGUI (List< ActionParameter > externalParameters, bool isAssetFile, GUIData guiData, List< ActionParameter > ownParameters=null)
 
- Static Protected Member Functions inherited from AC.SetParametersBase
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)
 

Detailed Description

A component used to set all of an Interaction's parameters when run as the result of interacting with a Hotspot.