Exemplo n.º 1
0
    public async void win(string ending)
    {
        var fade = GetNode <FadeLayer>("FadeCanvasLayer/Fade");

        fade.startFade();
        await ToSignal(fade, "FadeDone");

        GDKnyttDataStore.winGame(ending);
    }
Exemplo n.º 2
0
    public async void win(string ending)
    {
        await fade(fast : false, color : Cutscene.getCutsceneColor(ending));

        GDKnyttDataStore.winGame(ending);
    }