Click or drag to resize

NguiEventCommand<TWidget> Class

Base class for a command when a NGUI event on a widget occured.
Inheritance Hierarchy
System.Object
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          Slash.Unity.DataBind.Foundation.Commands.Command
            Slash.Unity.DataBind.UI.NGUI.Commands.NguiEventCommand<TWidget>
              Slash.Unity.DataBind.UI.NGUI.Commands.ButtonClickCommand
              Slash.Unity.DataBind.UI.NGUI.Commands.EventTriggerClickCommand
              Slash.Unity.DataBind.UI.NGUI.Commands.PopupListChangeCommand

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 NguiEventCommand<TWidget> type exposes the following members.

Constructors
  NameDescription
Protected methodNguiEventCommand<TWidget>
Initializes a new instance of the NguiEventCommand<TWidget> class
Top
Methods
  NameDescription
Protected methodAwake
Unity callback.
(Overrides Command.Awake().)
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