FM/Assets/TouchScript/Examples/Cube/Scripts/CustomPointerProxy.cs

20 lines
431 B
C#
Raw Normal View History

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