public static void OpenLib(IntPtr luaState, string libName)
 {
     LibUtility.BeginCreateLib(luaState, libName);
     LibUtility.RegistFunction(luaState, libName, "registEvent", m_RegistEventFunction);
     LibUtility.RegistFunction(luaState, libName, "unregistEvent", m_UnregistEventFunction);
     LibUtility.EndCreateLib(luaState, libName);
 }
 public static void OpenLib(IntPtr luaState, string libName)
 {
     LibUtility.BeginCreateLib(luaState, libName);
     LibUtility.RegistFunction(luaState, libName, "getMillisecondsSinceStartup", m_GetMillisecondsSinceStartupFunction);
     LibUtility.RegistFunction(luaState, libName, "getRealtimeSinceStartup", m_GetRealtimeSinceStartupFunction);
     LibUtility.EndCreateLib(luaState, libName);
 }
 public static void OpenLib(IntPtr luaState, string libName)
 {
     LibUtility.BeginCreateLib(luaState, libName);
     LibUtility.RegistFunction(luaState, libName, "log", m_LogFunction);
     LibUtility.RegistFunction(luaState, libName, "warning", m_WarningFunction);
     LibUtility.RegistFunction(luaState, libName, "error", m_ErrorFunction);
     LibUtility.RegistFunction(luaState, libName, "verbose", m_VerboseFunction);
     LibUtility.EndCreateLib(luaState, libName);
 }