SkillTreeUIManagerAutomatical

Contains the logic for handling the automatic skill tree UI.

Implementation

public class SkillTreeUIManagerAutomatical : SkillTreeUIManager

Inheritance

MonoBehaviour --> SkillTreeUIManager --> SkillTreeUIManagerAutomatical

Fields

Name

Description

DEFAULT_UI_PATH

Path to the automatic skill tree UI prefab

skillDistanceFromTop

Distance from top for the first skill

distanceBetweenSkillTypes

Distance between the skill types

skillTypeSize

Size of the skill type

skillTypePrefab

Prefab of the skill type gameobject

skillTypes

Counter for the skill types when setting up

Methods

Name

Description

Open(Skills characterSkills)

Overrides the base Open() method

OpenSkillTree(Skills characterSkills)

Opens the skill tree UI for this gameobject

CloseSkillTree(Skills characterSkills)

Closes the skill tree UI for this gameobject

IsSkillTreeOpen(Skills characterSkills)

Returns a boolean value for the open state of the skill tree UI

RequireInstance(Skills characterSkills)

Sets up the gameobject for usage