C# Class LeopotamGroup.Gui.Widgets.GuiButton

Button widget.
Inheritance: LeopotamGroup.Gui.Common.GuiEventReceiver
Afficher le fichier Open project: Leopotam/LeopotamGroupLibraryUnity

Méthodes publiques

Свойство Type Description
ActiveColor UnityEngine.Color
DisableColor UnityEngine.Color
EnableColor UnityEngine.Color
ScaleOnPress UnityEngine.Vector3
TweenTime float
Visuals GuiWidget[]

Méthodes publiques

Méthode Description
OnBtnPressed ( GuiEventReceiver sender, GuiTouchEventArg tea ) : void
UpdateAttachedWidgets ( Color color, float time ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

OnBtnPressed() public méthode

public OnBtnPressed ( GuiEventReceiver sender, GuiTouchEventArg tea ) : void
sender LeopotamGroup.Gui.Common.GuiEventReceiver
tea GuiTouchEventArg
Résultat void

OnDisable() protected méthode

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

UpdateAttachedWidgets() public méthode

public UpdateAttachedWidgets ( Color color, float time ) : void
color UnityEngine.Color
time float
Résultat void

Property Details

ActiveColor public_oe property

Color of pressed state.
public Color,UnityEngine ActiveColor
Résultat UnityEngine.Color

DisableColor public_oe property

Color of disabled state.
public Color,UnityEngine DisableColor
Résultat UnityEngine.Color

EnableColor public_oe property

Color of normal enabled state.
public Color,UnityEngine EnableColor
Résultat UnityEngine.Color

ScaleOnPress public_oe property

Scale on press event.
public Vector3,UnityEngine ScaleOnPress
Résultat UnityEngine.Vector3

TweenTime public_oe property

Tween time of scaling / recoloring on press event.
public float TweenTime
Résultat float

Visuals public_oe property

List of button-frontface widgets.
public GuiWidget[] Visuals
Résultat GuiWidget[]