Adventure Creator  1.76.2
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.Expression Class Reference

Public Member Functions

 Expression (int[] idArray)
 The default Constructor. More...
void ShowGUI ()

Public Attributes

int ID
string label
CursorIconBase portraitIcon = new CursorIconBase ()

Detailed Description

A data container for a facial expression that a character (see: Char) can make. Expressions can involve using a different portrait graphic in MenuGraphic elements, or have their ID numbers used to affect a Mecanim parameter. They are changed in Speech lines by using the [expression:X] token, where "X" is the label defined for that particular Expression.

Constructor & Destructor Documentation

◆ Expression()

AC.Expression.Expression ( int[]  idArray)

The default Constructor.

idArrayAn array of already-used ID numbers, so that a unique one can be generated

Member Data Documentation

◆ ID

int AC.Expression.ID

A unique identifier

◆ label

string AC.Expression.label

The name used in speech tokens

◆ portraitIcon

CursorIconBase AC.Expression.portraitIcon = new CursorIconBase ()

A portrait graphic to display in MenuGraphic elemets