Exemplo n.º 1
0
    /// <summary>
    /// Destroy ALL instantiated GameObjects by given player
    /// </summary>
    /// <param name="player"></param>
    public static void RemoveAllInstantiatedObjects(PhotonPlayer player)
    {
        if (!VerifyCanUseNetwork())
        {
            return;
        }

        networkingPeer.RemoveAllInstantiatedObjectsByPlayer(player);
    }