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