SkillTreeUIManager
Contains the logic for handling the skill tree UI.
public class SkillTreeUIManager : MonoBehaviour
Name | Description |
Defines the value for the time layer | |
Reference for the skills database | |
The animator component of this gameobject | |
The root gameobject of the skill tree | |
Boolean value indicating if the skill tree is open or closed | |
The CanvasScaler component of the UI | |
The Skills component of the gameobject opening this skill tree | |
The skill bar elements of this skill tree | |
Reference of type Text for displaying the skill points of the skill tree opener | |
Reference to the SkillTreeItemsUI component of the gameobject which has all skills under it | |
Image component of the gameobject used for the drag/drop functionality | |
Context menu of a skill |
Name | Description |
Awake is called when the script instance is being loaded. | |
Opens the skill tree UI for this gameobject | |
Closes the skill tree UI for this gameobject | |
Enters the configuration mode for the skill bar | |
Exits the configuration mode for the skill bar | |
Removes a skill from the skill bar | |
Sets the skill tree opener references | |
Resets all skills | |
Resets a skill | |
Updates the skill points text | |
Hides the context menu of a skill | |
Updates the skill bar | |
Sets the drag/drop image to the dragged skill and changes the position according to the pointer | |
Returns a boolean value for the open state of the skill tree UI | |
Changes the state of the skill tree UI | |
Resets the skill bar | |
Resets the skill bar where the passed skill is used | |
Gets the position of the pointer in unscaled form |
Last modified 2yr ago