Click or drag to resize

ToggleColor Class

Allows to set the on/off color of a Toggle.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.UI.BehavioursToggleBehaviour
            Kit.UI.BehavioursToggleColor

Namespace:  Kit.UI.Behaviours
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class ToggleColor : ToggleBehaviour
Request Example View Source

The ToggleColor type exposes the following members.

Fields
  NameDescription
Public fieldOffColor
Color to use for the Off state.
Public fieldOnColor
Color to use for the On state.
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
See Also