LMQT/Assets/TouchScript/Examples/Cube/Scripts/CustomPointerProxy.cs
2024-12-10 09:03:45 +08:00

19 lines
436 B
C#

/*
* @author Valentin Simonov / http://va.lent.in/
*/
using TouchScript.Behaviors.Cursors;
using TouchScript.Pointers;
namespace TouchScript.Examples.Cube
{
/// <exclude />
public class CustomPointerProxy : PointerCursor
{
protected override void updateOnce(IPointer pointer) {
if (pointer.InputSource is RedirectInput) Hide();
base.updateOnce(pointer);
}
}
}