Update() public method

public Update ( ) : void
return void
Ejemplo n.º 1
0
 private void AutoDiscoverUpdate()
 {
     //Searching Enabled-> Update DiscoveryClient to check results, Wait Interval then Ping network.
     pingIntervalCurrent += Time.deltaTime;
     if (pingIntervalCurrent > PingIntervalSec)
     {
         pingIntervalCurrent = 0;
         discoveryClient.Ping();
     }
     discoveryClient.Update();
 }
Ejemplo n.º 2
0
 private void AutoDiscoverUpdate()
 {
     //Searching Enabled-> Update DiscoveryClient to check results, Wait Interval then Ping network.
     pingIntervalCurrent += Time.deltaTime;
     if (pingIntervalCurrent > PingIntervalSec)
     {
         if (ShowDetailedLogs)
         {
             Debug.Log("Looking for servers...");
         }
         pingIntervalCurrent = 0;
         discoveryClient.Ping();
     }
     discoveryClient.Update();
 }