예제 #1
0
 void OnDestroy()
 {
     //         Debug.LogError("OnDestroy 1 ");
     DestroyBluetooth();
     bluetoothSDKUtils = null;
     bluetoothSdk      = null;
 }
예제 #2
0
 void Awake()
 {
     if (null == bluetoothSdk)
     {
         bluetoothSdk = this;
         GameObject.DontDestroyOnLoad(bluetoothSdk.gameObject);
     }
 }