C# Class UIButtonColor, Hero.Coli

Inheritance: UIWidgetContainer
Afficher le fichier Open project: CyberCRI/Hero.Coli Class Usage Examples

Méthodes publiques

Свойство Type Description
duration float
hover Color
pressed Color
tweenTarget GameObject

Protected Properties

Свойство Type Description
mColor Color
mHighlighted bool
mStarted bool

Méthodes publiques

Méthode Description
OnDisable ( ) : void
OnHover ( bool isOver ) : void
OnPress ( bool isPressed ) : void
Start ( ) : void

Méthodes protégées

Méthode Description
Init ( ) : void
OnEnable ( ) : void

Method Details

Init() protected méthode

protected Init ( ) : void
Résultat void

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

OnHover() public méthode

public OnHover ( bool isOver ) : void
isOver bool
Résultat void

OnPress() public méthode

public OnPress ( bool isPressed ) : void
isPressed bool
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

duration public_oe property

Duration of the tween process.
public float duration
Résultat float

hover public_oe property

Color to apply on hover event (mouse only).
public Color hover
Résultat Color

mColor protected_oe property

protected Color mColor
Résultat Color

mHighlighted protected_oe property

protected bool mHighlighted
Résultat bool

mStarted protected_oe property

protected bool mStarted
Résultat bool

pressed public_oe property

Color to apply on the pressed event.
public Color pressed
Résultat Color

tweenTarget public_oe property

Target with a widget, renderer, or light that will have its color tweened.
public GameObject tweenTarget
Résultat GameObject