コード例 #1
0
    public override void EnterGameHandler()
    {
        base.EnterGameHandler();

        Scenes scenes = new Scenes();

        scenes.OnSceneLoaded += (s, m) =>
        {
            scenes.OnSceneLoaded = default;
            TimeUpdater.New(5f, () =>
            {
                scenes.ClearAndLoadScene("LoadSceneSampleB", "LoadSceneSampleA");
            });
        };
        scenes.ClearAndLoadScene("LoadSceneSampleA", string.Empty);
    }