Class Submittable
A Manipulator that simulates a click when the target element is "submitted".
Inherited Members
UnityEngine.UIElements.Clickable.clickedWithEventInfo
UnityEngine.UIElements.Clickable.clicked
Namespace: UnityEngine.Dt.App.UI
Syntax
public class Submittable : Clickable, IManipulator
Constructors
Submittable(Action)
Construct a Submittable.
Declaration
public Submittable(Action handler)
Parameters
Type | Name | Description |
---|---|---|
Action | handler | A callback invoked when the target element is submitted. |
Submittable(Action, Int64, Int64)
Construct a Submittable.
Declaration
public Submittable(Action handler, long delay, long interval)
Parameters
Type | Name | Description |
---|---|---|
Action | handler | A callback invoked when the target element is submitted. |
Int64 | delay | The delay before the callback is invoked. |
Int64 | interval | The interval between invocations of the callback. |
Submittable(Action<EventBase>)
Construct a Submittable.
Declaration
public Submittable(Action<EventBase> handler)
Parameters
Type | Name | Description |
---|---|---|
Action<EventBase> | handler | A callback invoked when the target element is submitted. |
Methods
RegisterCallbacksOnTarget()
Called to register event callbacks from the target element.
Declaration
protected override void RegisterCallbacksOnTarget()
Overrides
UnregisterCallbacksFromTarget()
Called to unregister event callbacks from the target element.
Declaration
protected override void UnregisterCallbacksFromTarget()