Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue