DatabaseSkills

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

Implementation

public class DatabaseSkills : IDatabase

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

GetSkillListSkillByIndex(int)

Returns skill at index

GetSkillTypes()

Returns all skill types

GetSkillTypesTypeByIndex(int)

Returns skill type at index

GetSkillSettings()

Returns the skill settings

GetSkillSuggestions(string)

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