示例#1
0
 public static void registerExportPluginModule(string name, ExportPluginModule pluginModule)
 {
     if (name == "core")
     {
         coreModule = pluginModule;
     }
     if (name == "ngui")
     {
         nguiModule = pluginModule;
     }
 }
 public override void OnModuleInit()
 {
     InitCommonResource();
     ExportPluginModule.registerExportPluginModule("core", this);
 }
 static CoreExportModule()
 {
     ExportPluginModule.registerExportPluginModule("core", new CoreExportModule());
 }
 static UGUIExportModule()
 {
     ExportPluginModule.registerExportPluginModule("ugui", new UGUIExportModule());
 }
 static NGUIExportModule()
 {
     ExportPluginModule.registerExportPluginModule("ngui", new NGUIExportModule());
 }
 static ScriptExportModule()
 {
     ExportPluginModule.registerExportPluginModule("script", new ScriptExportModule());
 }