Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Inventory.TabButton Class Reference
Inheritance diagram for Slasher.Inventory.TabButton:
Inheritance graph
Collaboration diagram for Slasher.Inventory.TabButton:
Collaboration graph

Public Member Functions

void TabSelected ()
 
void TabUnselected ()
 

Public Attributes

float HeightDifference
 
float SelectMaxTime
 

Private Member Functions

void Awake ()
 
void OnEnable ()
 
void OnDisable ()
 
void Start ()
 
void SetPosition ()
 
void Update ()
 
void LateUpdate ()
 

Private Attributes

bool isSelected = false
 
float selectedHeight = -64f
 
float unselectedHeight = -128f
 
float selectTimer
 

Member Function Documentation

◆ Awake()

void Slasher.Inventory.TabButton.Awake ( )
private

◆ LateUpdate()

void Slasher.Inventory.TabButton.LateUpdate ( )
private

◆ OnDisable()

void Slasher.Inventory.TabButton.OnDisable ( )
private

◆ OnEnable()

void Slasher.Inventory.TabButton.OnEnable ( )
private

◆ SetPosition()

void Slasher.Inventory.TabButton.SetPosition ( )
private

◆ Start()

void Slasher.Inventory.TabButton.Start ( )
private
Here is the call graph for this function:

◆ TabSelected()

void Slasher.Inventory.TabButton.TabSelected ( )

◆ TabUnselected()

void Slasher.Inventory.TabButton.TabUnselected ( )

◆ Update()

void Slasher.Inventory.TabButton.Update ( )
private
Here is the call graph for this function:

Member Data Documentation

◆ HeightDifference

float Slasher.Inventory.TabButton.HeightDifference

◆ isSelected

bool Slasher.Inventory.TabButton.isSelected = false
private

◆ selectedHeight

float Slasher.Inventory.TabButton.selectedHeight = -64f
private

◆ SelectMaxTime

float Slasher.Inventory.TabButton.SelectMaxTime

◆ selectTimer

float Slasher.Inventory.TabButton.selectTimer
private

◆ unselectedHeight

float Slasher.Inventory.TabButton.unselectedHeight = -128f
private

The documentation for this class was generated from the following file: