Beispiel #1
0
    private void MoveByTracker()
    {
        DeviceData device = GetDeviceData();

        if (device != null)
        {
            cursorPos = device.CursorPosition();
            if (cursorPos != null)
            {
                MovePlayer((Vector3)cursorPos);
            }
        }
    }