Esempio n. 1
0
 void PeerReload()
 {
     if (UniP2PManager.GetPeerCount() != 0)
     {
         peerInfoTreeView.Reload();
     }
     Repaint();
 }
Esempio n. 2
0
        void OnGUI()
        {
            RenderHeadPanel();

            if (EnableAutoReload && UniP2PManager.GetPeerCount() != c_count)
            {
                PeerReload();
                c_count = UniP2PManager.GetPeerCount();
            }

            SplitterGUILayout.BeginVerticalSplit(this.splitterState, EmptyLayoutOption);
            {
                RenderTable();
            }
            SplitterGUILayout.EndVerticalSplit();
        }