Click or drag to resize

WindowButton Class

Button that shows, hides or toggles a window.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.UI.ButtonsButtonBehaviour
            Kit.UI.ButtonsWindowButton

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

The WindowButton type exposes the following members.

Fields
  NameDescription
Public fieldAction
Whether to show, hide or toggle.
Public fieldHardReference
Hard reference to the window.
Public fieldSoftReference
A soft (path-only) reference to the window.
Public fieldUseSoftReference
Whether to store just the path to the Window and load it at runtime using "Resources.Load".
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