Example #1
0
 // Token: 0x060003C7 RID: 967 RVA: 0x00022BC4 File Offset: 0x00020DC4
 public static void Log(string s)
 {
     if (!string.IsNullOrEmpty(s))
     {
         string[] array = s.Split(new char[]
         {
             '\n'
         });
         for (int i = 0; i < array.Length; i++)
         {
             NGUIDebug.LogString(array[i]);
         }
     }
 }
Example #2
0
 public static void Log(string s)
 {
     if (!string.IsNullOrEmpty(s))
     {
         string[] array = s.Split(new char[]
         {
             '\n'
         });
         string[] array2 = array;
         for (int i = 0; i < array2.Length; i++)
         {
             string text = array2[i];
             NGUIDebug.LogString(text);
         }
     }
 }
Example #3
0
    public static void Log(params object[] objs)
    {
        string text = string.Empty;

        for (int i = 0; i < objs.Length; i++)
        {
            if (i == 0)
            {
                text += objs[i].ToString();
            }
            else
            {
                text = text + ", " + objs[i].ToString();
            }
        }
        NGUIDebug.LogString(text);
    }
Example #4
0
    public static void Log(params object[] objs)
    {
        if (NGUIDebug.miOpenLog <= 0 || NGUIDebug.miOpenLog > 3)
        {
            return;
        }
        string text = string.Empty;

        for (int i = 0; i < objs.Length; i++)
        {
            if (objs[i] != null)
            {
                if (i == 0)
                {
                    text += objs[i].ToString();
                }
                else
                {
                    text = text + ", " + objs[i].ToString();
                }
            }
        }
        NGUIDebug.LogString(text);
    }
Example #5
0
 public unsafe static long $Invoke5(long instance, long *args)
 {
     NGUIDebug.LogString(Marshal.PtrToStringUni(*(IntPtr *)args));
     return(-1L);
 }