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

Public Member Functions

 PresetValue (GVar _gVar)
 The default Constructor. More...

Public Attributes

int id
int val
float floatVal
string textVal
Vector3 vector3Val

Detailed Description

A data container for a single variable's preset value.

Constructor & Destructor Documentation

◆ PresetValue()

AC.PresetValue.PresetValue ( GVar  _gVar)

The default Constructor.

_gVarThe variable that this is a preset for

Member Data Documentation

◆ floatVal

float AC.PresetValue.floatVal

Its value, if a float.

◆ id


The associated variable's ID number

◆ textVal

string AC.PresetValue.textVal

Its value, if a string

◆ val

int AC.PresetValue.val

Its value, if an integer, popup or boolean. If a boolean, 0 = False, and 1 = True.

◆ vector3Val

Vector3 AC.PresetValue.vector3Val

Its value, if a Vector3