DestroyAll() public method

public DestroyAll ( bool localOnly ) : void
localOnly bool
return void
Ejemplo n.º 1
0
 public static void DestroyAll()
 {
     if (isMasterClient)
     {
         networkingPeer.DestroyAll(false);
     }
     else
     {
         Debug.LogError("Couldn't call DestroyAll() as only the master client is allowed to call this.");
     }
 }
Ejemplo n.º 2
0
 public static void DestroyAll()
 {
     networkingPeer.DestroyAll(false);
 }