EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Character.CharacterLibrary Class Reference

The Character Library allows for characters to be defined, including information such as names, icons, and portrayal images/spritesets. More...

Inherits ScriptableObject.

Public Member Functions

CharacterDefinition GetCharacterDefinition (string name)
 Gets the CharacterDefinition for the character with the specified name, if there is a matching character with that name in the library.
 

Properties

List< CharacterDefinitionCharacters [get, set]
 Gets or sets the List of characters in the character library.
 

Private Attributes

List< CharacterDefinitioncharacters = new List<CharacterDefinition>()
 The List of Character Definitions containing information about each character which has been configured in the library.
 

Detailed Description

The Character Library allows for characters to be defined, including information such as names, icons, and portrayal images/spritesets.

Member Function Documentation

◆ GetCharacterDefinition()

CharacterDefinition EasyTalk.Character.CharacterLibrary.GetCharacterDefinition ( string name)

Gets the CharacterDefinition for the character with the specified name, if there is a matching character with that name in the library.

Parameters
nameThe name of the character to retrieve configuration information for.
Returns
The CharacterDefinition for the specified character, if that character exists; otherwise this method returns null.

Member Data Documentation

◆ characters

List<CharacterDefinition> EasyTalk.Character.CharacterLibrary.characters = new List<CharacterDefinition>()
private

The List of Character Definitions containing information about each character which has been configured in the library.

Property Documentation

◆ Characters

List<CharacterDefinition> EasyTalk.Character.CharacterLibrary.Characters
getset

Gets or sets the List of characters in the character library.