Antura  1.1.0
Antura.AnturaSpace.UI.AnturaSpaceItemButton Class Reference

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

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

Public Member Functions

void Setup ()
 
override void Lock (bool _doLock)
 
void SetAsNew (bool _isNew)
 
void SetImage (bool _isRenderTexture)
 
override void Toggle (bool _activate, bool _animateClick=false)
 
- Public Member Functions inherited from Antura.UI.UIButton
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

RawImage RewardImage
 
GameObject IcoLock
 
GameObject IcoNew
 
Camera RewardCamera
 
Transform RewardContainer
 
RewardItem Data
 
- 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...
 

Protected Member Functions

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

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]
 

Detailed Description

Button for an item in a category in the Antura Space scene.

Member Function Documentation

◆ Lock()

override void Antura.AnturaSpace.UI.AnturaSpaceItemButton.Lock ( bool  _doLock)
virtual

Reimplemented from Antura.UI.UIButton.

◆ OnDestroy()

override void Antura.AnturaSpace.UI.AnturaSpaceItemButton.OnDestroy ( )
protectedvirtual

Reimplemented from Antura.UI.UIButton.

◆ SetAsNew()

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

◆ SetImage()

void Antura.AnturaSpace.UI.AnturaSpaceItemButton.SetImage ( bool  _isRenderTexture)

◆ Setup()

void Antura.AnturaSpace.UI.AnturaSpaceItemButton.Setup ( )

◆ Toggle()

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

Reimplemented from Antura.UI.UIButton.

Member Data Documentation

◆ Data

RewardItem Antura.AnturaSpace.UI.AnturaSpaceItemButton.Data

◆ IcoLock

GameObject Antura.AnturaSpace.UI.AnturaSpaceItemButton.IcoLock

◆ IcoNew

GameObject Antura.AnturaSpace.UI.AnturaSpaceItemButton.IcoNew

◆ RewardCamera

Camera Antura.AnturaSpace.UI.AnturaSpaceItemButton.RewardCamera

◆ RewardContainer

Transform Antura.AnturaSpace.UI.AnturaSpaceItemButton.RewardContainer

◆ RewardImage

RawImage Antura.AnturaSpace.UI.AnturaSpaceItemButton.RewardImage

Property Documentation

◆ IsNew

bool Antura.AnturaSpace.UI.AnturaSpaceItemButton.IsNew
get

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