Example #1
0
        private void Start()
        {
            if (Instance != null && Instance != this)
            {
                Logger.LogError("FloaterManager.Start", $"More than one instance in scene, disabling {gameObject.name}.");
                enabled = false;
                return;
            }

            Instance = this;
        }