|
EasyTalk API
|
Defines attributes for a character, such as their name, icons, and portrayal images/spritesheets. More...
Public Member Functions | |
| AnimatableDisplayImage | GetIconSprite (string id) |
| Returns the character's icon which has the specified ID, if it exists. | |
| AnimatableDisplayImage | GetPortrayalSprite (string id) |
| Returns the character's portrait which has the specified ID, if it exists. | |
Properties | |
| string | CharacterName [get, set] |
| Gets or sets the name of the character. | |
| List< AnimatableDisplayImage > | IconsSprites [get] |
| GEts the List of icons for the character. | |
| List< AnimatableDisplayImage > | PortrayalSprites [get] |
| Gets the List of portraits for the character. | |
| bool | OverrideDefaultGibberishAudio [get, set] |
| List< AudioClip > | GibberishAudioClips [get] |
| Gets the List of gibberish audio clips used by the character. | |
Private Attributes | |
| string | characterName |
| The name of the character. | |
| List< AnimatableDisplayImage > | iconsSprites = new List<AnimatableDisplayImage>() |
| A collection of displayable icons for the character. | |
| List< AnimatableDisplayImage > | portrayalSprites = new List<AnimatableDisplayImage>() |
| A collection of displayable portraits for the character. | |
| bool | overrideDefaultGibberishAudio = false |
| Indicates whether the character should use their own unique gibberish audio, rather than the defaults. | |
| List< AudioClip > | gibberishAudioClips = new List<AudioClip>() |
| The collection of gibberish audio clips used for the character. | |
Defines attributes for a character, such as their name, icons, and portrayal images/spritesheets.
| AnimatableDisplayImage EasyTalk.Character.CharacterDefinition.GetIconSprite | ( | string | id | ) |
Returns the character's icon which has the specified ID, if it exists.
| id | The ID of the icon to retrieve. |
| AnimatableDisplayImage EasyTalk.Character.CharacterDefinition.GetPortrayalSprite | ( | string | id | ) |
Returns the character's portrait which has the specified ID, if it exists.
| id | The ID of the portrait to retrieve. |
|
private |
The name of the character.
|
private |
The collection of gibberish audio clips used for the character.
|
private |
A collection of displayable icons for the character.
|
private |
Indicates whether the character should use their own unique gibberish audio, rather than the defaults.
|
private |
A collection of displayable portraits for the character.
|
getset |
Gets or sets the name of the character.
|
get |
Gets the List of gibberish audio clips used by the character.
|
get |
GEts the List of icons for the character.
|
getset |
|
get |
Gets the List of portraits for the character.