Skill

Scriptable Object used in saving your skills to disk

Implementation

public class Skill : ScriptableObject

Inheritance

ScriptableObject --> Skill

Fields

Name

Description

Unique id of the skill

Localized string for the name of the skill

Localized string for the description of the skill

Icon for the image

Type of the skill

Execution type of the skill

Cast time duration of the skill in seconds

Execution time duration of the skill in seconds

Cooldown time duration of the skill in seconds

State of the skill at start

Checkbox to define whether skill points should be used to unlock

Amount of skill points needed to unlock

Checkbox to define whether this skill has a level requirement

Level of the skill needed to unlock

Contains all skills one relies on

Checkbox to define whether this skill can be added to a skill bar

Conditions in order to execute the skill

Actions called when the skill is in the activation phase

Actions called when the skill is in the casting phase

Actions called when the skill is in the execution phase

Actions called when the skill is in the finishing phase

Conditions to unlock the skill

Actions called when the skill is reset

Methods

Name

Description

Copies the field values to a new SkillAsset

Copies the field values to a new SkillRelyOn

Creates a new SkillRelyOn instance in the project

Updates the values of a SkillRelyOn instance

Deletes a SkillRelyOn instance

Creates a new Skill instance

Called when a scriptable object is destroyed

Deletes a gameobject

Enums

Name

Description

Defines the execution type of a skill

Defines the state of the skill on start

Last updated