DatabaseSkills
Scriptable Object used as a database to store all skills and settings.

Implementation

1
public class DatabaseSkills : IDatabase
Copied!

Inheritance

​ScriptableObject --> IDatabase --> DatabaseSkills​

Classes

Name
Description
​SkillsList​
Contains the definitions for the skills list and types
​SkillSettings​
Contains the definitions for the settings

Fields

Name
Description
​skillList​
References the skill list of the SkillsList class
​skillsSettings​
References the settings of the SkillSettings class

Methods

Name
Description
​GetSkillList()​
Returns all skills
Returns skill at index
​GetSkillTypes()​
Returns all skill types
Returns skill type at index
​GetSkillSettings()​
Returns the skill settings
Returns all skills that have a description or name similar to the input
​GetSkillTypesNames()​
Returns all skill type names
​GetSkillTypesIDs()​
Returns all skill type IDs and name
​Load()​
Loads the skills database
​InitializeOnLoad()​
Allow an editor class method to be initialized when Unity loads without action from the user
​GetProjectPath()​
Returns the project path
Last modified 1yr ago