void Awake() { if (is_multiple_singleton_in_scene()) { Debug.LogWarning("Multiple BluetoothAdapter/BtConnector gameobjects in the scene. " + "Note: you don't need to add a BtConnector/BluetoothAdapter to your scene in this version"); Destroy(this); return; } mono_BluetoothAdapter = this; DontDestroyOnLoad(this); BtBridge.set_unity_game_object_name(this.gameObject.name); //AWAKE: CHANGE THE NAME OF ITS OBJECT }
void Awake() { mono_BluetoothAdapter = this; BtBridge.set_unity_game_object_name(this.gameObject.name); //AWAKE: CHANGE THE NAME OF ITS OBJECT }
void Awake() { BtBridge.set_unity_game_object_name(this.gameObject.name); //AWAKE: CHANGE THE NAME OF ITS OBJECT }