Antura  1.1.0
Antura.AnturaSpace.UI.AnturaSpaceCategoryButton Class Reference

Button for a category in the Antura Space scene. More...

Inheritance diagram for Antura.AnturaSpace.UI.AnturaSpaceCategoryButton:
Antura.UI.UIButton

Public Types

enum  AnturaSpaceCategory {
  AnturaSpaceCategory.Unset, AnturaSpaceCategory.HEAD, AnturaSpaceCategory.Ears, AnturaSpaceCategory.NOSE,
  AnturaSpaceCategory.JAW, AnturaSpaceCategory.NECK, AnturaSpaceCategory.BACK, AnturaSpaceCategory.TAIL,
  AnturaSpaceCategory.Texture, AnturaSpaceCategory.Decal
}
 

Public Member Functions

void SetAsNew (bool _isNew)
 
override void Toggle (bool _activate, bool _animateClick=false)
 
- Public Member Functions inherited from Antura.UI.UIButton
virtual void Lock (bool _doLock)
 
void ChangeDefaultColors (Color _defaultColor, Color? _toggleOffColor=null)
 
void Pulse ()
 Pulsing stops automatically when the button is toggled or clicked (via AnimateClick) More...
 
void StopPulsing ()
 
void AnimateClick (bool _force=false)
 
void PlayClickFx ()
 

Public Attributes

AnturaSpaceCategory Category
 
- Public Attributes inherited from Antura.UI.UIButton
Color BtToggleOffColor = Color.white
 
Color BtLockedColor = Color.red
 
bool ToggleIconAlpha = true
 
bool ToggleCanvasGroupAlpha = false
 
bool AutoAnimateClick = true
 
bool AutoPlayButtonFx = false
 
Color DefaultColor
 Default color of the button image More...
 

Properties

bool IsNew [get]
 
- Properties inherited from Antura.UI.UIButton
bool IsToggled [get]
 
bool IsLocked [get]
 
Button Bt [get]
 
RectTransform RectT [get]
 
Image BtImg [get]
 
Image Ico [get, set]
 
CanvasGroup CGroup [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Antura.UI.UIButton
virtual void Awake ()
 
virtual void OnDestroy ()
 

Detailed Description

Button for a category in the Antura Space scene.

Member Enumeration Documentation

◆ AnturaSpaceCategory

Enumerator
Unset 
HEAD 
Ears 
NOSE 
JAW 
NECK 
BACK 
TAIL 
Texture 
Decal 

Member Function Documentation

◆ SetAsNew()

void Antura.AnturaSpace.UI.AnturaSpaceCategoryButton.SetAsNew ( bool  _isNew)

◆ Toggle()

override void Antura.AnturaSpace.UI.AnturaSpaceCategoryButton.Toggle ( bool  _activate,
bool  _animateClick = false 
)
virtual

Reimplemented from Antura.UI.UIButton.

Member Data Documentation

◆ Category

AnturaSpaceCategory Antura.AnturaSpace.UI.AnturaSpaceCategoryButton.Category

Property Documentation

◆ IsNew

bool Antura.AnturaSpace.UI.AnturaSpaceCategoryButton.IsNew
get

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