예제 #1
0
        private IEnumerator InitialiseAssets()
        {
            TerrainTileSet.InitialiseTileSets();
            _entityCollection.Startup(this);
            _recipes.Initialise();

            _networkManager.Startup(this);
            _debugController.Startup(this);

            _networkManager.Initialise(StartConnecting, StartLoading, StartGame, Pause, Resume, Disconnect);

            yield return(new WaitForSeconds(1f));

            ApplicationStateChange(EApplicationState.Menu);
        }