Adventure Creator  1.66.8
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.ActionType Class Reference

Public Member Functions

 ActionType (string _fileName, Action _action)
 The default Constructor. More...
 
 ActionType (ActionType _actionType)
 
bool IsMatch (ActionType _actionType)
 
string GetFullTitle (bool forSorting=false)
 Gets the full name (category + title) of the Action. Actions in the Custom category are prefixed with "ZZ" so that they appear at the bottom in an alphabetical order. More...
 

Public Attributes

string fileName
 
ActionCategory category
 
string title
 
string description
 
bool isEnabled
 
Color color
 

Detailed Description

A data container for an Action's properties as displayed within ActionsManager.

Constructor & Destructor Documentation

◆ ActionType()

AC.ActionType.ActionType ( string  _fileName,
Action  _action 
)

The default Constructor.

Parameters
_fileNameThe Action's filename
_actionThe Action itself

Member Function Documentation

◆ GetFullTitle()

string AC.ActionType.GetFullTitle ( bool  forSorting = false)

Gets the full name (category + title) of the Action. Actions in the Custom category are prefixed with "ZZ" so that they appear at the bottom in an alphabetical order.

Returns
The full name (category + title) of the Action

Member Data Documentation

◆ category

ActionCategory AC.ActionType.category

The Action's category (ActionList, Camera, Character, Container, Dialogue, Engine, Hotspot, Input, Inventory, Menu, Moveable, Object, Player, Save, Sound, ThirdParty, Variable, Custom)

◆ color

Color AC.ActionType.color

The Action's colour, when displayed in the ActionList Editor window

◆ description

string AC.ActionType.description

A brief description about what the Action does

◆ fileName

string AC.ActionType.fileName

The Action's filename

◆ isEnabled

bool AC.ActionType.isEnabled

If True, the Action is enabled and can be used in ActionList objects

◆ title

string AC.ActionType.title

The Action's title