Antura  1.1.0
Antura.AnturaSpace.UI.AnturaSpaceUI Class Reference

General controller of the UI in the Antura Space scene. More...

Inheritance diagram for Antura.AnturaSpace.UI.AnturaSpaceUI:

Public Member Functions

delegate void AnturaSpaceUIEvent (string _id)
 
void ToggleShopPanel ()
 
void ToggleModsPanel ()
 
void SetTutorialMode (bool activate)
 Activates or deactivates the tutorial mode for the customization UI. If active, only the first new category and the first new item will be selectable. More...
 
AnturaSpaceCategoryButton GetNewCategoryButton ()
 Returns the first category button marked as NEW (meaning it has new content). Return NULL if the mods panel is not open. More...
 
AnturaSpaceItemButton GetNewItemButton ()
 Returns the first item button marked as NEW (meaning it has new content). Return NULL if the mods panel is not open or a category is not selected. More...
 
void ShowBonesButton (bool show)
 

Public Attributes

int MaxItems = 10
 
LayerMask RewardsLayer
 
bool FlipRewards = true
 
bool HideLockedSwatchesColors
 
AnturaSpaceModsButton BtOpenModsPanel
 
UIButton BtBonesShop
 
UIButton BTRemoveMods
 
RectTransform CategoriesContainer
 
AnturaSpaceItemButton BtItemMain
 
RectTransform ShopButtonsContainer
 
TMPro.TextMeshProUGUI bonesNumber
 

Properties

static AnturaSpaceUI I [get]
 
bool IsModsPanelOpen [get]
 
bool IsShopPanelOpen [get]
 
int BonesCount [get, set]
 

Events

System.Action onEnterCustomization
 
System.Action onExitCustomization
 
static AnturaSpaceUIEvent onRewardCategorySelectedInCustomization
 
static AnturaSpaceUIEvent onRewardSelectedInCustomization
 

Detailed Description

General controller of the UI in the Antura Space scene.

Member Function Documentation

◆ AnturaSpaceUIEvent()

delegate void Antura.AnturaSpace.UI.AnturaSpaceUI.AnturaSpaceUIEvent ( string  _id)

◆ GetNewCategoryButton()

AnturaSpaceCategoryButton Antura.AnturaSpace.UI.AnturaSpaceUI.GetNewCategoryButton ( )

Returns the first category button marked as NEW (meaning it has new content). Return NULL if the mods panel is not open.

◆ GetNewItemButton()

AnturaSpaceItemButton Antura.AnturaSpace.UI.AnturaSpaceUI.GetNewItemButton ( )

Returns the first item button marked as NEW (meaning it has new content). Return NULL if the mods panel is not open or a category is not selected.

◆ SetTutorialMode()

void Antura.AnturaSpace.UI.AnturaSpaceUI.SetTutorialMode ( bool  activate)

Activates or deactivates the tutorial mode for the customization UI. If active, only the first new category and the first new item will be selectable.

◆ ShowBonesButton()

void Antura.AnturaSpace.UI.AnturaSpaceUI.ShowBonesButton ( bool  show)

◆ ToggleModsPanel()

void Antura.AnturaSpace.UI.AnturaSpaceUI.ToggleModsPanel ( )

◆ ToggleShopPanel()

void Antura.AnturaSpace.UI.AnturaSpaceUI.ToggleShopPanel ( )

Member Data Documentation

◆ bonesNumber

TMPro.TextMeshProUGUI Antura.AnturaSpace.UI.AnturaSpaceUI.bonesNumber

◆ BtBonesShop

UIButton Antura.AnturaSpace.UI.AnturaSpaceUI.BtBonesShop

◆ BtItemMain

AnturaSpaceItemButton Antura.AnturaSpace.UI.AnturaSpaceUI.BtItemMain

◆ BtOpenModsPanel

AnturaSpaceModsButton Antura.AnturaSpace.UI.AnturaSpaceUI.BtOpenModsPanel

◆ BTRemoveMods

UIButton Antura.AnturaSpace.UI.AnturaSpaceUI.BTRemoveMods

◆ CategoriesContainer

RectTransform Antura.AnturaSpace.UI.AnturaSpaceUI.CategoriesContainer

◆ FlipRewards

bool Antura.AnturaSpace.UI.AnturaSpaceUI.FlipRewards = true

◆ HideLockedSwatchesColors

bool Antura.AnturaSpace.UI.AnturaSpaceUI.HideLockedSwatchesColors

◆ MaxItems

int Antura.AnturaSpace.UI.AnturaSpaceUI.MaxItems = 10

◆ RewardsLayer

LayerMask Antura.AnturaSpace.UI.AnturaSpaceUI.RewardsLayer

◆ ShopButtonsContainer

RectTransform Antura.AnturaSpace.UI.AnturaSpaceUI.ShopButtonsContainer

Property Documentation

◆ BonesCount

int Antura.AnturaSpace.UI.AnturaSpaceUI.BonesCount
getset

◆ I

AnturaSpaceUI Antura.AnturaSpace.UI.AnturaSpaceUI.I
staticget

◆ IsModsPanelOpen

bool Antura.AnturaSpace.UI.AnturaSpaceUI.IsModsPanelOpen
get

◆ IsShopPanelOpen

bool Antura.AnturaSpace.UI.AnturaSpaceUI.IsShopPanelOpen
get

Event Documentation

◆ onEnterCustomization

System.Action Antura.AnturaSpace.UI.AnturaSpaceUI.onEnterCustomization

◆ onExitCustomization

System.Action Antura.AnturaSpace.UI.AnturaSpaceUI.onExitCustomization

◆ onRewardCategorySelectedInCustomization

AnturaSpaceUIEvent Antura.AnturaSpace.UI.AnturaSpaceUI.onRewardCategorySelectedInCustomization
static

◆ onRewardSelectedInCustomization

AnturaSpaceUIEvent Antura.AnturaSpace.UI.AnturaSpaceUI.onRewardSelectedInCustomization
static

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