Inheritence

Constructors

Button

Properties

AnimationCurve Animation curve to use, X is the time between 0-1 and Y is how much the button is pressed from 0-1.
AnimationTime How long in seconds should it take to animate this button.
AutoReset
IsAnimating True if the button is currently animating
IsOn True if the button is currently on
Mode
Move
MoveDelta
MoveTarget
OffSound Sound to play when the button is released.
OnPressed Called when the button is pressed. Receives the GameObject that pressed it.
OnReleased Called when the button is released. Receives the GameObject that released it.
OnSound Sound to play when the button is pressed.
OnTurnedOff Called when the button turns off.
OnTurnedOn Called when the button turns on. Receives the GameObject that activated it.
ResetTime
TooltipDescription
TooltipDescriptionOff
TooltipIcon
TooltipIconOff
TooltipTitle
TooltipTitleOff

Methods

Toggle Toggles the button between on and off states.
TurnOff Turns the button off. Does nothing if already off or animating.
TurnOn Turns the button on. Does nothing if already on or animating.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.