Antura  1.1.0
Antura.UI.MenuButton Class Reference

A button used in a menu. More...

Inheritance diagram for Antura.UI.MenuButton:
Antura.UI.UIButton

Public Attributes

MenuButtonType Type
 
- 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...
 

Additional Inherited Members

- Public Member Functions inherited from Antura.UI.UIButton
virtual void Toggle (bool _activate, bool _animateClick=false)
 
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 ()
 
- Protected Member Functions inherited from Antura.UI.UIButton
virtual void Awake ()
 
virtual void OnDestroy ()
 
- 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]
 

Detailed Description

A button used in a menu.

Member Data Documentation

◆ Type

MenuButtonType Antura.UI.MenuButton.Type

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