BLEFramework.Unity.BLEControllerInitializer.Awake C# (CSharp) Method

Awake() private method

private Awake ( ) : void
return void
        void Awake()
        {
            if(Instance == null)
            {
                Instance = this;
                gameObject.name = "BLEControllerInitializer";
                GameObject.DontDestroyOnLoad(this.gameObject);
            }
            else
            {
                GameObject.Destroy(this.gameObject);
            }
        }