예제 #1
0
        public async void SetLoop(GameLoopType type)
        {
            _currentLoop?.LoopOut();

            _isUpdatable = false;
            _currentLoop = _gameLoops[(int)type];
            await _currentLoop.LoopIn();

            _isUpdatable = true;
        }