NetworkedMultiplayerPeerSetTargetPeer Method |
Sets the peer to which packets will be sent.
The id can be one of: to send to all connected peers, to send to the peer acting as server, a valid peer ID to send to that specific peer, a negative peer ID to send to all peers except that one. By default, the target peer is .
Namespace: Godot
public void SetTargetPeer( int id )
[Missing <param name="id"/> documentation for "M:Godot.NetworkedMultiplayerPeer.SetTargetPeer(System.Int32)"]