void Awake() { if (null == singleton) { singleton = this; } }
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(); } }