Exemple #1
0
    // Token: 0x06004E19 RID: 19993 RVA: 0x00137DAC File Offset: 0x00135FAC
    public static void Broadcast(string funcName)
    {
        int i     = 0;
        int count = global::UIRoot.mRoots.Count;

        while (i < count)
        {
            global::UIRoot uiroot = global::UIRoot.mRoots[i];
            if (uiroot != null)
            {
                uiroot.BroadcastMessage(funcName, 1);
            }
            i++;
        }
    }
Exemple #2
0
 // Token: 0x06004E1A RID: 19994 RVA: 0x00137DF8 File Offset: 0x00135FF8
 public static void Broadcast(string funcName, object param)
 {
     if (param == null)
     {
         Debug.LogError("SendMessage is bugged when you try to pass 'null' in the parameter field. It behaves as if no parameter was specified.");
     }
     else
     {
         int i     = 0;
         int count = global::UIRoot.mRoots.Count;
         while (i < count)
         {
             global::UIRoot uiroot = global::UIRoot.mRoots[i];
             if (uiroot != null)
             {
                 uiroot.BroadcastMessage(funcName, param, 1);
             }
             i++;
         }
     }
 }