Click or drag to resize

ButtonBehaviour Class

Parent class for behaviours that want to react to a Button or UI element's click.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.UI.ButtonsButtonBehaviour
            More...

Namespace:  Kit.UI.Buttons
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public abstract class ButtonBehaviour : MonoBehaviour, 
	IPointerClickHandler, IEventSystemHandler
Request Example View Source

The ButtonBehaviour type exposes the following members.

Methods
  NameDescription
Public methodOnPointerClick
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
Inheritance Hierarchy