DefaultSkillTreeWindow

A default in-game window that displays all created and enabled Skill Trees.

Inherits from SkillTreeUI.

Properties

NameDescriptionType

confirmPromptTitle

The prompt title.

string

confirmPromptDescription

The prompt description.

string

confirmButtonText

The confirm button text.

string

cancelButtonText

The cancel button text.

string

loadedSkillSlots

A list of currently loaded skill node slots.

List<DefaultSkillNodeSlot>

loadedConnections

A list of currently loaded connection objects.

List<DefaultSkillConnectionUI>

changesMade

If any tree changes have been made.

bool

instance

The skill tree window instance.

DefaultSkillTreeWindow

Methods

SetChangesMade

Sets the changes made value.

Parameters

NameDescriptionType

value

The new value.

bool

RequiresConfirmation

Return Type: bool

If the window requires confirmation before switching to another tree or exiting. True if it requires confirmation. Otherwise, false.

ApplyChanges

Applies the graph changes.

RevertChanges

Reverts the graph changes.

ReloadTreeList

Reloads the list of trees.

PlaySound

Plays a sound.

Parameters

NameDescriptionType

clip

The audio clip to play.

AudioClip

NextGraph

Displays the next graph.

PreviousGraph

Displays the previous graph.

RefreshTexts

Refreshes the title, level, and skill points texts.

ReloadGraph

Reloads the graph view.

GetSkillSlot

Gets a skill node slot by index.

Parameters

NameDescriptionType

index

The index of the skill in the graph.

int

ResetCurrentTree

Removes all upgrades on the active skill tree.

Last updated