1234567891011121314151617181920212223242526272829303132333435 |
- using UnityEngine;
- namespace Sensors.USB
- {
- public struct BreakSensorData
- {
- public bool isActive;
- public float timeActive;
- }
- public class BreakSensorReveiver: AwaitUsbDevice
- {
- private BreakSensorData sensorData;
- public BreakSensorData SensorData => sensorData;
- public override int DeviceId => throw new System.NotImplementedException();
- public override bool Connected => throw new System.NotImplementedException();
- public override void Connect(USBDevice device)
- {
- Debug.Log("Connect not implemented");
- }
- }
- public class BreakReceiver : AwaitUsbDevice
- {
- public override int DeviceId => throw new System.NotImplementedException();
- public override bool Connected => throw new System.NotImplementedException();
- public override void Connect(USBDevice device)
- {
- throw new System.NotImplementedException();
- }
- }
- }
|