SkillTreeSettings
Skill Tree's custom settings scriptable object.
Inherits from ScriptableObject.
Properties
Name | Description | Type |
---|---|---|
skillTypes | The main list of all skill types. | List<string> |
maxUnitLevel | The max level a unit can reach up to. | int |
statIdentities | The main list of all stat identities. | List<StatIdentity> |
Methods
SaveSettings
Saves the settings asset (editor only).
GetSkillTypeAtIndex
Return Type: string
Gets a skill type at an index.
Parameters
Name | Description | Type |
---|---|---|
index | The index. | int |
GetStatIdentity
Return Type: StatIdentity
Gets a stat identity by index.
Parameters
Name | Description | Type |
---|---|---|
index | The index. | int |
GetStatIdentity
Return Type: StatIdentity
Gets a stat identity by name.
Parameters
Name | Description | Type |
---|---|---|
name | The name of the stat identity. | string |
Last updated