using System; using UnityEngine; namespace SmartBowSDK { public class BluetoothWindows { public Func Connect; public Func Disconnect; public Func Write; public Func WriteByte; public Action OnConnected; public Action OnConnectionFailed; public Action OnCharacteristicChanged; public static bool IsWindows() { return Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == RuntimePlatform.WindowsEditor; } } }