Esempio n. 1
0
    public LevelScriptRunner StartLevelScript(ScriptAction script)
    {
        LevelScriptRunner runner = InstanceResource <LevelScriptRunner>("res://levels/LevelScriptRunner.tscn");

        runner.Script = script;
        gameplayScreen.AddChild(runner);
        return(runner);
    }