A location asset. More...
Public Member Functions | |
Location () | |
Initializes a new Location. More... | |
Location (Location sourceLocation) | |
Copy constructor. More... | |
Location (ChatMapper.Location chatMapperLocation) | |
Initializes a new Location copied from a Chat Mapper location asset. More... | |
void | Assign (ChatMapper.Location chatMapperLocation) |
Copies a Chat Mapper location asset. More... | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.Asset | |
Asset () | |
Initializes a new DialogueAsset. More... | |
Asset (Asset sourceAsset) | |
Copy constructor. More... | |
Asset (int chatMapperID, List< ChatMapper.Field > chatMapperFields) | |
Initializes a new DialogueAsset copied from a Chat Mapper asset. More... | |
void | Assign (int chatMapperID, List< ChatMapper.Field > chatMapperFields) |
Copies a Chat Mapper asset. More... | |
bool | FieldExists (string title) |
Checks whether a field exists. More... | |
string | LookupValue (string title) |
Looks up the value of a field. More... | |
string | LookupLocalizedValue (string title) |
Looks up the localized value of a field for the current language. More... | |
int | LookupInt (string title) |
Looks up the value of a field. More... | |
float | LookupFloat (string title) |
Looks up the value of a field. More... | |
bool | LookupBool (string title) |
Looks up the value of a field. More... | |
bool | IsFieldAssigned (string title) |
Checks whether a field exists and has non-empty text. More... | |
Field | AssignedField (string title) |
Returns a field if it exists and has non-empty text. More... | |
Additional Inherited Members | |
Public Attributes inherited from PixelCrushers.DialogueSystem.Asset | |
int | id = 0 |
Every asset has an ID number. More... | |
List< Field > | fields = null |
The asset's fields. More... | |
Properties inherited from PixelCrushers.DialogueSystem.Asset | |
string | Name [get, set] |
Gets or sets the Name field. More... | |
string | LocalizedName [get] |
Gets the localized Name field. More... | |
A location asset.
In Chat Mapper, locations are usually used to track the information about locations within the simulation. The dialogue system doesn't do anything with locations, but you're free to use them in your Lua code.
PixelCrushers.DialogueSystem.Location.Location | ( | ) |
Initializes a new Location.
PixelCrushers.DialogueSystem.Location.Location | ( | Location | sourceLocation | ) |
Copy constructor.
sourceLocation | Source location. |
PixelCrushers.DialogueSystem.Location.Location | ( | ChatMapper.Location | chatMapperLocation | ) |
Initializes a new Location copied from a Chat Mapper location asset.
chatMapperLocation | The Chat Mapper location. |
void PixelCrushers.DialogueSystem.Location.Assign | ( | ChatMapper.Location | chatMapperLocation | ) |
Copies a Chat Mapper location asset.
chatMapperLocation | The Chat Mapper location. |