You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
684 B
25 lines
684 B
namespace UnityEngine.EventSystems |
|
{ |
|
/// <summary> |
|
/// Event Data associated with Axis Events (Controller / Keyboard). |
|
/// </summary> |
|
public class AxisEventData : BaseEventData |
|
{ |
|
/// <summary> |
|
/// Raw input vector associated with this event. |
|
/// </summary> |
|
public Vector2 moveVector { get; set; } |
|
|
|
/// <summary> |
|
/// MoveDirection for this event. |
|
/// </summary> |
|
public MoveDirection moveDir { get; set; } |
|
|
|
public AxisEventData(EventSystem eventSystem) |
|
: base(eventSystem) |
|
{ |
|
moveVector = Vector2.zero; |
|
moveDir = MoveDirection.None; |
|
} |
|
} |
|
}
|
|
|