|
override void | AssignValues (List< ActionParameter > parameters) |
| Overwrites any appropriate variables with values set using parameters, or from ConstantID numbers. More...
|
|
override float | Run () |
| Runs the Action. More...
|
|
override void | ShowGUI (List< ActionParameter > parameters) |
| Shows the Action's GUI when its parent ActionList / ActionListAsset uses parameters. More...
|
|
override void | AssignConstantIDs (bool saveScriptsToo, bool fromAssetFile) |
| Called when an ActionList has been converted from a scene-based object to an asset file. Within it, AssignConstantID should be called for each of the Action's Constant ID numbers, which will assign a new number if one does not already exist, based on the referenced scene object. More...
|
|
override string | SetLabel () |
| Gets a string that is shown after the Action's title in the Editor to help the user understand what it does. More...
|
|
override bool | ReferencesObjectOrID (GameObject _gameObject, int id) |
| Checks if the Action makes reference to a particular GameObject More...
|
|
override bool | ReferencesPlayer (int _playerID=-1) |
| Checks if the Action makes reference to a particular ActionList asset More...
|
|
string | GetTranslatableString (int index) |
| Gets the text to be translated, given its index. More...
|
|
int | GetTranslationID (int index) |
| Gets the translation ID of a given text index. More...
|
|
void | UpdateTranslatableString (int index, string updatedText) |
|
int | GetNumTranslatables () |
| Gets the maximum number of possible translatable texts. More...
|
|
bool | HasExistingTranslation (int index) |
| Checks if a given text index has already been assigned a unique translation ID. More...
|
|
void | SetTranslationID (int index, int _lineID) |
| Sets the translation ID of a given text index More...
|
|
string | GetOwner (int index) |
| Gets the name of the translatable text's owner. In the case of speech text, it is the name of the character. In the case of menu element text, it is the name of the menu element. More...
|
|
bool | OwnerIsPlayer (int index) |
| Checks if the translatable text's owner is a Player. This is necessary for speech lines, since multiple player prefabs can feasibly share the same line. More...
|
|
AC_TextType | GetTranslationType (int index) |
| Gets the translation type of a given text index. More...
|
|
bool | CanTranslate (int index) |
| Checks if a given text index can and should be translated. More...
|
|
| Action () |
|
virtual void | Upgrade () |
|
virtual void | Skip () |
|
virtual int | GetNextOutputIndex () |
| Gets the index of the output socket to use after the Action has run. More...
|
|
void | PrintComment (ActionList actionList, ActionListAsset actionListAsset=null) |
| Prints the Action's comment, if applicable, to the Console. More...
|
|
void | SetOutputs (ActionEnd[] actionEnds) |
| Update the Action's output sockets More...
|
|
void | ResetSearchData () |
|
virtual void | ShowGUI () |
|
void | SkipActionGUI (List< Action > actions, bool showGUI) |
|
void | DrawOutWires (List< Action > actions, int i, int offset, Vector2 scrollPosition) |
|
int | FieldToID< T > (T field, int _constantID, bool alwaysAssign=false) |
|
int | FieldToID (Collider field, int _constantID) |
|
void | AddSaveScript< T > (Behaviour field) |
|
void | AddSaveScript< T > (GameObject _gameObject) |
|
T | IDToField< T > (T field, int _constantID, bool moreInfo) |
|
Collider | IDToField (Collider field, int _constantID, bool moreInfo) |
|
int | FieldToID (Transform field, int _constantID, bool alwaysAssign=false) |
|
Transform | IDToField (Transform field, int _constantID, bool moreInfo) |
|
int | FieldToID (GameObject field, int _constantID) |
|
int | FieldToID (GameObject field, int _constantID, bool alwaysAssign) |
|
GameObject | IDToField (GameObject field, int _constantID, bool moreInfo) |
|
GameObject | IDToField (GameObject field, int _constantID, bool moreInfo, bool alwaysShow) |
|
virtual bool | ConvertLocalVariableToGlobal (int oldLocalID, int newGlobalID) |
| Converts the Action's references from a given local variable to a given global variable More...
|
|
virtual bool | ConvertGlobalVariableToLocal (int oldGlobalID, int newLocalID, bool isCorrectScene) |
| Converts the Action's references from a given global variable to a given local variable More...
|
|
virtual int | GetNumVariableReferences (VariableLocation location, int varID, List< ActionParameter > parameters, Variables variables=null, int variablesConstantID=0) |
| Gets the number of references the Action makes to a variable More...
|
|
virtual int | UpdateVariableReferences (VariableLocation location, int oldVarID, int newVarID, List< ActionParameter > parameters, Variables variables=null, int variablesConstantID=0) |
| Updated references the Action makes to a variable More...
|
|
virtual bool | ReferencesAsset (ActionListAsset actionListAsset) |
|
virtual List< ActionListAsset > | GetReferencedActionListAssets () |
|
virtual void | AssignParentList (ActionList actionList) |
| Passes the ActionList that the Action is a part of to the Action class. This is run before the Action is called or displayed in an Editor. More...
|
|
virtual void | AssignValues () |
|
virtual void | Reset (ActionList actionList) |
| Resets any runtime values that are necessary to run the Action succesfully More...
|
|
BoolValue | AssignBoolean (List< ActionParameter > parameters, int _parameterID, BoolValue field) |
| Replaces a boolean based on an ActionParameter, if appropriate. More...
|
|
int | AssignInteger (List< ActionParameter > parameters, int _parameterID, int field) |
| Replaces an integer based on an ActionParameter, if appropriate. More...
|
|
float | AssignFloat (List< ActionParameter > parameters, int _parameterID, float field) |
| Replaces a float based on an ActionParameter, if appropriate. More...
|
|
Transform | AssignFile (List< ActionParameter > parameters, int _parameterID, int _constantID, Transform field) |
| Replaces a Transform based on an ActionParameter or ConstantID instance, if appropriate. More...
|
|
Collider | AssignFile (List< ActionParameter > parameters, int _parameterID, int _constantID, Collider field) |
| Replaces a Collider based on an ActionParameter or ConstantID instance, if appropriate. More...
|
|
Object | AssignObject< T > (List< ActionParameter > parameters, int _parameterID, Object field) |
| Replaces a GameObject based on an ActionParameter or ConstantID instance, if appropriate. More...
|
|
T | AssignFile< T > (List< ActionParameter > parameters, int _parameterID, int _constantID, T field, bool doLog=true) |
| Replaces a generic Behaviour based on an ActionParameter or ConstantID instance, if appropriate. More...
|
|
T | AssignFile< T > (int _constantID, T field) |
| Replaces a generic Behaviour based on a ConstantID, if appropriate. More...
|
|
Transform | AssignFile (int _constantID, Transform field) |
| Replaces a Transform based on a ConstantID, if appropriate. More...
|
|
void | FixLinkAfterDeleting (Action actionToDelete, Action targetAction, List< Action > actionList) |
|
virtual void | ClearIDs () |
|
virtual void | SetLastResult (int _lastRunOutput) |
| Updates which output was followed when the Action was last run More...
|
|
void | ResetLastResult () |
|
virtual void | ResetAssetValues () |
|
void | SetOutput (ActionEnd actionEnd) |
| Update the Action's output socket More...
|
|
|
const int | skipSocketSeparation = 48 |
|
const int | socketSeparation = 28 |
|
void | AddSearchTerm (string term) |
|
string | TextArea (string text) |
|
string | TextField (string label, string text) |
|
string | DelayedTextField (string label, string text) |
|
void | AfterRunningOption () |
|
void | SkipActionGUI (ActionEnd ending, List< Action > actions, bool showGUI) |
|
void | AssignConstantID< T > (T field, int _constantID, int _parameterID) |
|
void | AssignConstantID (Collider field, int _constantID, int _parameterID) |
|
void | AssignConstantID (Transform field, int _constantID, int _parameterID) |
|
void | AssignConstantID (GameObject field, int _constantID, int _parameterID) |
|
int | ChoosePlayerGUI (int _playerID, bool includeActiveOption=false) |
|
void | TryAssignConstantID (Component component, ref int _constantID) |
|
void | TryAssignConstantID (GameObject gameObject, ref int _constantID) |
|
Player | AssignPlayer (int _playerID, List< ActionParameter > parameters, int _playerParameterID) |
|
void | Log (string message, Object context=null) |
|
void | LogWarning (string message, Object context=null) |
|
void | LogError (string message, Object context=null) |
|
ActionParameter | GetParameterWithID (List< ActionParameter > parameters, int _id) |
|
string | AssignString (List< ActionParameter > parameters, int _parameterID, string field) |
|
Vector3 | AssignVector3 (List< ActionParameter > parameters, int _parameterID, Vector3 field) |
|
int | AssignVariableID (List< ActionParameter > parameters, int _parameterID, int field) |
|
GVar | AssignVariable (List< ActionParameter > parameters, int _parameterID, GVar field) |
|
Variables | AssignVariablesComponent (List< ActionParameter > parameters, int _parameterID, Variables field) |
|
int | AssignInvItemID (List< ActionParameter > parameters, int _parameterID, int field) |
|
int | AssignDocumentID (List< ActionParameter > parameters, int _parameterID, int field) |
|
GameObject | AssignFile (List< ActionParameter > parameters, int _parameterID, int _constantID, GameObject field) |
| Replaces a GameObject based on an ActionParameter or ConstantID instance, if appropriate. More...
|
|
GameObject | AssignFile (int _constantID, GameObject field) |
| Replaces a GameObject based on a ConstantID, if appropriate. More...
|
|
virtual string | GetSocketLabel (int i) |
|
ActionEnd | GenerateActionEnd (ResultAction _resultAction, ActionListAsset _linkedAsset, Cutscene _linkedCutscene, int _skipAction, Action _skipActionActual, List< Action > _actions) |
|