Example #1
0
        public void Awake()
        {
            if (_instance != null && _instance != this)
            {
                Destroy(this);
                return;
            }

            DontDestroyOnLoad(this);
            _instance = this;

            LoadBlacklist();

            GameEvents.Contract.onOffered.Add(OnOffered);
        }
Example #2
0
        public void Awake()
        {
            if (_instance != null && _instance != this)
            {
                Destroy(this);
                return;
            }

            //if (!BudgetSettings.Instance.masterSwitch) Destroy(this);
            DontDestroyOnLoad(this);
            _instance = this;

            LoadBlacklist();

            GameEvents.Contract.onOffered.Add(OnOffered);
        }