Exemple #1
0
        private void OnDestroy()
        {
            ShowPanel(Panel.None);

            if (Instance != this)
            {
                return;
            }

            Instance = null;
        }
Exemple #2
0
        private void Awake()
        {
            if (Instance != null)
            {
                Debug.LogError("More than one ConnectionAuthority is present in the scene!");
                return;
            }

            Instance = this;

            ShowConnectionList();
        }