示例#1
0
 static public int CreateInstance_s(IntPtr l)
 {
     try {
         NGUIDebug.CreateInstance();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 private static void LogString(string text)
 {
     if (Application.isPlaying)
     {
         if (NGUIDebug.mLines.Count > 20)
         {
             NGUIDebug.mLines.RemoveAt(0);
         }
         NGUIDebug.mLines.Add(text);
         NGUIDebug.CreateInstance();
     }
 }
 private static void LogString(string text)
 {
     if (Application.get_isPlaying())
     {
         if (NGUIDebug.mLines.get_Count() > 20)
         {
             NGUIDebug.mLines.RemoveAt(0);
         }
         NGUIDebug.mLines.Add(text);
         NGUIDebug.CreateInstance();
     }
     else
     {
         Debug.Log(text);
     }
 }
示例#4
0
 static int CreateInstance(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 0);
     NGUIDebug.CreateInstance();
     return(0);
 }
示例#5
0
 public unsafe static long $Invoke1(long instance, long *args)
 {
     NGUIDebug.CreateInstance();
     return(-1L);
 }