From 84919719f8a76d619c1b059d54242b11f58a22bb Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 8 Sep 2019 16:23:42 +0200 Subject: [PATCH] feat(exemple): add a transition when a scene is selected --- examples/mainmenu/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/mainmenu/init.lua b/examples/mainmenu/init.lua index d1340fd..5f01961 100644 --- a/examples/mainmenu/init.lua +++ b/examples/mainmenu/init.lua @@ -130,6 +130,7 @@ end function SceneWidget:action() core.scenemanager:storeCurrentScene("mainmenu") + core.scenemanager:prepareTransition() self.newscene(self.args[1], self.args[2], self.args[3], self.args[4], self.args[5]) end