コード例 #1
0
ファイル: PhotonNetwork.cs プロジェクト: patel22p/dorumon
    /// <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);
    }