SkillTreeItemsUIAutomatical

Sets up the automatic skill tree UI items when opening the UI according to the variables set in the inspector.

Implementation

public class SkillTreeItemsUIAutomatical : SkillTreeItemsUI

Inheritance

MonoBehaviour --> SkillTreeItemsUI --> SkillTreeItemsUIAutomatical

Fields

Name

Description

skillsContainer

The RectTransform component of this gameobject

prefabSkill

The prefab of the automatic skill

prefabSkillConnectorEnabled

The prefab of the enabled connector between two skills

prefabSkillConnectorDisabled

The prefab of the disabled connector between two skills

distanceBetweenSkillsInLine

The distance between two skills which rely on each other and are displayed in a line

prefabSkillHolder

The prefab of the skill holder

skillUIHolder

Gameobject variable to be used for the instantiated skill holder prefab

Methods

Name

Description

UpdateSkills(Skills)

Overrides the base UpdateSkills(Skills) method