Property | Type | Description | |
---|---|---|---|
disabledColor | Color |
Method | Description | |
---|---|---|
OnHover ( bool isOver ) : void | ||
OnPress ( bool isPressed ) : void | ||
UpdateColor ( bool shouldBeEnabled, bool immediate ) : void |
Update the button's color to either enabled or disabled state.
|
Method | Description | |
---|---|---|
OnEnable ( ) : void |
If the collider is disabled, assume the disabled color.
|
public UpdateColor ( bool shouldBeEnabled, bool immediate ) : void | ||
shouldBeEnabled | bool | |
immediate | bool | |
return | void |