wacki / Unity-VRInputModule

MIT License
89 stars 33 forks source link

Performance spike fix #12

Closed haywirephoenix closed 4 years ago

haywirephoenix commented 4 years ago

Add LaserPointerInputModule.cs:56

UICamera.cullingMask = LayerMask.NameToLayer("UI"); UICamera.stereoTargetEye = StereoTargetEyeMask.None;

paulhayes commented 4 years ago

Yes, makes sense.

Can you modify the file directly on github and create a pull request.

haywirephoenix commented 4 years ago

Okay, I've got an input upgrade for you aswell that works with the new api

haywirephoenix commented 4 years ago

fix #13