コード例 #1
0
        public void Initialize()
        {
            _manager      = StepManager.GetInstance(_world);
            _stateManager = StateManager.GetInstance(_world);
            _cacheManager = CachedComponentsManager.GetInstance();

            _gameElements = GameObject.FindGameObjectWithTag(AppConstants.GameElementsTag);
            _drawAudio    = GameObject.FindObjectOfType <AudioSource>();

            SaveSettings.OnLoaded += OnSettingsLoaded;
            SaveSettings.Load();
        }