Example #1
0
        IEnumerator Initialize()
        {
            Database.Initialize();
            SpriteManager.instance.Initialize();
            LoadUnlocks();

            ItemGenerator.Initialize();
            PcGenerator.Initialize();
            QuestGenerator.Initialize();
            StockpileManager.instance.Initialize();
            ModelManager.instance.Initialize();

            PcManager.instance.Initialize();
            //PcManager.instance.Load();
            PcManager.instance.Generate();

            questManager.Initialize();

            PortraitRoom.instance.Initialize(PcManager.instance.PcDataList.Count);

            guiManager.Initialize(buildingObjects);

            //AudioManager.instance.PlayMusic("Back Home", 0, 5f);
            AudioManager.instance.PlayAmbient("Town Day", true);

            return(null);
        }
Example #2
0
        IEnumerator Initialize()
        {
            Database.Initialize();
            ItemGenerator.Initialize();
            PcGenerator.Initialize();

            ModelManager.instance.Initialize();

            guiManager.Initialize();

            return(null);
        }
Example #3
0
        IEnumerator Initialize()
        {
            Database.Initialize();
            SpriteManager.instance.Initialize();
            ItemGenerator.Initialize();
            PcGenerator.Initialize();
            ModelManager.instance.Initialize();

            Load();

            PcManager.instance.Initialize();
            PcManager.instance.Load();
            PcManager.instance.SetupParty();

            NpcManager.instance.Initialize();

            guiManager.Initialize(currentQuest);

            //AudioManager.instance.PlayMusic("Caves of Madness", 0, 5f);
            AudioManager.instance.PlayAmbient("Castle Abandoned", true);

            ExploreMode();
            return(null);
        }