A set of game objects and materials that form character choices. More...
Public Member Functions | |
void | Awake () |
Initialize. | |
void | SetVisible (int index) |
Sets the visible (chosen) character. | |
Public Attributes | |
GameObject[] | characters |
The character combination roots. | |
MaterialSelector[] | mountSkinSelectors |
The materials for the mount. | |
MaterialSelector[] | riderSkinSelectors |
The materials for the rider. | |
Properties | |
int | visibleIndex [get, set] |
Currently chosen/visible character. |
A set of game objects and materials that form character choices.
void CharacterSet.Awake | ( | ) |
Initialize.
void CharacterSet.SetVisible | ( | int | index | ) |
Sets the visible (chosen) character.
GameObject [] CharacterSet.characters |
The character combination roots.
The materials for the mount.
The materials for the rider.
int CharacterSet.visibleIndex [get, set] |
Currently chosen/visible character.