private void ToLua(string outDllPath) { string bridgeDllPath = Utility.Move(tempDirectory_, bridgeDllPath_); var translator = new LuaTranslater(folder_, output_, outDllPath, bridgeDllPath); translator.Translate(); Save(translator); }
private void ToLua(string outDllPath) { var translator = new LuaTranslater(folder_, output_, outDllPath); translator.SearchPaths.AddRange(GetSearchPaths()); translator.XmlMetaFiles.Add(Utility.GetCurrentDirectory(kSystemMeta)); translator.XmlMetaFiles.AddRange(metas_); translator.Defines = defines_; translator.Translate(); Save(translator); }