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.
21 lines
899 B
21 lines
899 B
3 years ago
|
//========= Copyright 2016-2018, HTC Corporation. All rights reserved. ===========
|
||
|
|
||
|
using UnityEngine.EventSystems;
|
||
|
|
||
|
namespace HTC.UnityPlugin.Pointer3D
|
||
|
{
|
||
|
public static class ExecutePointer3DEvents
|
||
|
{
|
||
|
public static readonly ExecuteEvents.EventFunction<IPointer3DPressEnterHandler> PressEnterHandler = Execute;
|
||
|
private static void Execute(IPointer3DPressEnterHandler handler, BaseEventData eventData)
|
||
|
{
|
||
|
handler.OnPointer3DPressEnter(ExecuteEvents.ValidateEventData<Pointer3DEventData>(eventData));
|
||
|
}
|
||
|
|
||
|
public static readonly ExecuteEvents.EventFunction<IPointer3DPressExitHandler> PressExitHandler = Execute;
|
||
|
private static void Execute(IPointer3DPressExitHandler handler, BaseEventData eventData)
|
||
|
{
|
||
|
handler.OnPointer3DPressExit(ExecuteEvents.ValidateEventData<Pointer3DEventData>(eventData));
|
||
|
}
|
||
|
}
|
||
|
}
|