Exemplo n.º 1
0
 protected static void InvokeRpcRpcThrowGrenade(NetworkBehaviour obj, NetworkReader reader)
 {
     if (!NetworkClient.active)
     {
         Debug.LogError("RPC RpcThrowGrenade called on server.");
         return;
     }
     ((GrenadeManager)obj).RpcThrowGrenade(GeneratedNetworkCode._ReadGrenadeSpawnInfo_GrenadeManager(reader));
 }