Exemplo n.º 1
0
        public static TriggerLuaLuaScript Load(string filePath)
        {
            var script = LuaEngine.CreateBaseAPI();

            LuaEngine.LoadScript(filePath, script);
            return(new TriggerLuaLuaScript(script));
        }
        public static InteractiveObjectLuaScript Load(string filePath, InteractiveObject obj)
        {
            var script = LuaEngine.CreateBaseAPI();

            LuaEngine.LoadScript(filePath, script);
            return(new InteractiveObjectLuaScript(script, obj));
        }