/// <summary> /// 载入脚本 /// </summary> public static void Load() { string file = Cache.runPath + "script\\lua\\test1.lua"; var bl = eng.Load(file); Console.WriteLine("Load结果:" + bl); }
public void Load() { string file = Cache.runPath + "script\\lua\\test1.lua"; var bl = eng.Load(file); Console.WriteLine(bl.ToString()); Assert.IsTrue(bl); }