docs.unity3d.com
    Show / Hide Table of Contents

    Class Submittable

    A Manipulator that simulates a click when the target element is "submitted".

    Inheritance
    Object
    Manipulator
    MouseManipulator
    PointerManipulator
    Clickable
    Clickable
    Submittable
    Inherited Members
    Clickable.ProcessMoveEvent(EventBase, Vector2)
    Clickable.ForceActivePseudoState()
    Clickable.OnMouseDown(MouseDownEvent)
    Clickable.OnMouseMove(MouseMoveEvent)
    Clickable.OnMouseUp(MouseUpEvent)
    Clickable.Invoke(EventBase)
    Clickable.ProcessDownEvent(EventBase, Vector2, Int32)
    Clickable.ProcessUpEvent(EventBase, Vector2, Int32)
    Clickable.ProcessCancelEvent(EventBase, Int32)
    Clickable.active
    Clickable.lastMousePosition
    UnityEngine.UIElements.Clickable.clickedWithEventInfo
    UnityEngine.UIElements.Clickable.clicked
    PointerManipulator.CanStartManipulation(IPointerEvent)
    PointerManipulator.CanStopManipulation(IPointerEvent)
    MouseManipulator.CanStartManipulation(IMouseEvent)
    MouseManipulator.CanStopManipulation(IMouseEvent)
    MouseManipulator.activators
    Manipulator.target
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    Clickable.RegisterCallbacksOnTarget()

    UnregisterCallbacksFromTarget()

    Called to unregister event callbacks from the target element.

    Declaration
    protected override void UnregisterCallbacksFromTarget()
    Overrides
    Clickable.UnregisterCallbacksFromTarget()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023