LoadScene
This console command replaces the current scene.
Usage
LoadScene scene_class_name:string
Examples
local TitleScreen = Class("TitleScreen", crystal.Scene);
-- Title screen implementation goes here
crystal.cmd.run("LoadScene TitleScreen");
This console command replaces the current scene.
LoadScene scene_class_name:string
local TitleScreen = Class("TitleScreen", crystal.Scene);
-- Title screen implementation goes here
crystal.cmd.run("LoadScene TitleScreen");