void Embark()
    {
        for (int i = 0; i < dungeon_data.Length; i++)
        {
            if (dungeon_displays[i].selected)
            {
                SceneBridge.SetBaseData(dungeon_data[i]);

                SceneManager.LoadScene("BaseCrawlScene");
                break;
            }
        }
    }
Exemple #2
0
    void Load(string filename)
    {
        if (!selected)
        {
            selected = true;

            BaseData data = loader.Load(filename);
            if (data == null)
            {
                selected = false;
                return;
            }

            SceneBridge.SetBaseData(data);

            SceneManager.LoadScene(scene_to_load);
        }
    }