Ejemplo n.º 1
0
 void Awake()
 {
     if (null == singleton)
     {
         singleton = this;
     }
 }
Ejemplo n.º 2
0
        void OnClicked()
        {
            // clear the table, and start listening if not already started

            NetBroadcast.allReceivedBroadcastData.Clear();

            if (this.table)
            {
                this.table.Clear();
                this.table.UpdateTable();
            }

            if (!NetBroadcast.IsListening())
            {
                NetBroadcast.StartListening();
                LANScan2UI.StopListeningLater();
            }
        }