-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New features - Add recommended VR project settings notification window * Bug fix - Fix compile error in Unity 5.5/5.6 - [VRModule] Fix UnityEngineVRModule not removing disappeared device correctly - In Unity 2017.2, InputTracking.GetNodeStates sometimes returns ghost nodes at the beginning of play mode. - [Teleportable] Remove a potential null reference - This happens when SteamVR plugin is imported and no SteamVR_Camera exist. * Improvement - [Pointer3D] Now Pointer3DInputModule shows status in EventSystem's inspector preview window - [Pointer3D] Let Pointer3DInputModule behave more consistent with StandaloneInputModule - Now IPointerEnterHandler / IPointerExitHandler only triggered once for each pointer, pressing buttons won't trigger Enter/Exit anymore. - [Pointer3D] Add IPointer3DPressEnterHandler / IPointer3DPressExitHandler - Their behaviours are like IPointerEnterHandler/IPointerExitHandler, but press enter happend when the button is pressed and moved in, and press exit on button released or pointer moved out. - [SteamVRCameraHook] Fix not expending head-eye-ear correctly - [VRModule] Fix update timing issue - This fix VivePoseTracker tracking is delayed in editor playing mode.
- Loading branch information
Showing
24 changed files
with
1,936 additions
and
993 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
Assets/HTC.UnityPlugin/Pointer3D/ExecutePointer3DEvents.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//========= Copyright 2016-2017, 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)); | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Assets/HTC.UnityPlugin/Pointer3D/ExecutePointer3DEvents.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Assets/HTC.UnityPlugin/Pointer3D/Pointer3DEventInterfaces.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//========= Copyright 2016-2017, HTC Corporation. All rights reserved. =========== | ||
|
||
using UnityEngine.EventSystems; | ||
|
||
namespace HTC.UnityPlugin.Pointer3D | ||
{ | ||
public interface IPointer3DPressEnterHandler : IEventSystemHandler | ||
{ | ||
void OnPointer3DPressEnter(Pointer3DEventData eventData); | ||
} | ||
|
||
public interface IPointer3DPressExitHandler : IEventSystemHandler | ||
{ | ||
void OnPointer3DPressExit(Pointer3DEventData eventData); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Assets/HTC.UnityPlugin/Pointer3D/Pointer3DEventInterfaces.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.