Click or drag to resize

ControlHelper Class

Helper functions for events and control flow.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          KitControlHelper

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class ControlHelper : MonoBehaviour
Request Example View Source

The ControlHelper type exposes the following members.

Methods
  NameDescription
Public methodDelay(Action)
Perform an action next frame.
Public methodDelay(FuncBoolean, Action)
Call a method after a specified condition is satisfied.
Public methodDelay(Int32, Action)
Call a method after specified number of frames.
Public methodDelay(Single, Action)
Call a method after specified number of seconds.
Public methodDelay(Int32, Int32, Action)
Keep calling a method after a specified number of frames.
Public methodDelay(Single, Single, Action)
Keep calling a method after a specified number of seconds.
Top
Events
  NameDescription
Public eventStatic memberApplicationFocus
Event fired when the app loses/gains focus.
Public eventStatic memberApplicationPause
Event fired when the app pauses/unpauses.
Public eventStatic memberApplicationQuit
Event fired when the app quits.
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

Reference