Esempio n. 1
0
    public async void _on_PlayButton_pressed()
    {
        musics.PlaySound("Button");
        animationPlayer.Play("ZoomIn", -1, 0.5f);
        await ToSignal(animationPlayer, "animation_finished");

        var global = GetNode <Global>("/root/Global");

        global.GotoScene(mainScenePath);
    }