docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NavigationMoveEvent

    Event typically sent when the user presses the D-pad, moves a joystick or presses the arrow keys.

    Inheritance
    object
    EventBase
    EventBase<NavigationMoveEvent>
    NavigationEventBase<NavigationMoveEvent>
    NavigationMoveEvent
    Implements
    IDisposable
    INavigationEvent
    Inherited Members
    EventBase<NavigationMoveEvent>.TypeId()
    EventBase<NavigationMoveEvent>.GetPooled()
    EventBase<NavigationMoveEvent>.Dispose()
    EventBase<NavigationMoveEvent>.eventTypeId
    EventBase.RegisterEventType()
    EventBase.PreDispatch()
    EventBase.PreDispatch(IPanel)
    EventBase.PostDispatch()
    EventBase.PostDispatch(IPanel)
    EventBase.StopPropagation()
    EventBase.StopImmediatePropagation()
    EventBase.PreventDefault()
    EventBase.timestamp
    EventBase.bubbles
    EventBase.tricklesDown
    EventBase.target
    EventBase.isPropagationStopped
    EventBase.isImmediatePropagationStopped
    EventBase.isDefaultPrevented
    EventBase.propagationPhase
    EventBase.currentTarget
    EventBase.dispatch
    EventBase.imguiEvent
    EventBase.originalMousePosition
    EventBase.pooled
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.UIElements.Runtime
    Assembly: solution.dll
    Syntax
    public class NavigationMoveEvent : NavigationEventBase<NavigationMoveEvent>, IDisposable, INavigationEvent

    Constructors

    Name Description
    NavigationMoveEvent()

    Constructor.

    Properties

    Name Description
    direction

    The direction of the navigation.

    move

    The move vector.

    Methods

    Name Description
    GetPooled(Vector2)

    Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained from this method should be released back to the pool using Dispose().

    Init()

    Resets all event members to their initial values.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)