DestroyAll() public méthode

public DestroyAll ( bool localOnly ) : void
localOnly bool
Résultat void
Exemple #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.");
     }
 }
Exemple #2
0
 public static void DestroyAll()
 {
     networkingPeer.DestroyAll(false);
 }