Click or drag to resize

NguiEventCommandTWidget Class

Base class for a command when a NGUI event on a widget occured.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Foundation.CommandsCommand
            Slash.Unity.DataBind.UI.NGUI.CommandsNguiEventCommandTWidget
              Slash.Unity.DataBind.UI.NGUI.CommandsButtonClickCommand
              Slash.Unity.DataBind.UI.NGUI.CommandsEventTriggerClickCommand
              Slash.Unity.DataBind.UI.NGUI.CommandsPopupListChangeCommand

Namespace:  Slash.Unity.DataBind.UI.NGUI.Commands
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public abstract class NguiEventCommand<TWidget> : Command
where TWidget : MonoBehaviour

Type Parameters

TWidget
Type of widget to monitor.

The NguiEventCommandTWidget type exposes the following members.

Constructors
  NameDescription
Protected methodNguiEventCommandTWidget
Initializes a new instance of the NguiEventCommandTWidget class
Top
Methods
  NameDescription
Protected methodAwake
Unity callback.
(Overrides CommandAwake.)
Protected methodGetEvent
Returns the event from the specified target to observe.
Protected methodOnDisable
Unity callback.
Protected methodOnEnable
Unity callback.
Protected methodOnEvent
Called when the observed event occured.
Top
Fields
  NameDescription
Public fieldTarget
Target widget to work with.
Top
See Also