Links

Skill

Scriptable Object used in saving your skills to disk

Implementation

public class Skill : ScriptableObject

Inheritance

Fields

Name
Description
uuid
Unique id of the skill
skillName
Localized string for the name of the skill
Localized string for the description of the skill
icon
Icon for the image
skillType
Type of the skill
Execution type of the skill
castTime
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
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