24 lines
373 B
C#
24 lines
373 B
C#
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
namespace CurvedUI
|
|
{
|
|
public class CurvedUIPointerEventData : PointerEventData
|
|
{
|
|
public enum ControllerType
|
|
{
|
|
NONE = -1,
|
|
VIVE = 0
|
|
}
|
|
|
|
public GameObject Controller;
|
|
|
|
public Vector2 TouchPadAxis = Vector2.zero;
|
|
|
|
public CurvedUIPointerEventData(EventSystem eventSystem)
|
|
: base(eventSystem)
|
|
{
|
|
}
|
|
}
|
|
}
|