Click or drag to resize

WebRTCMultiplayerRemovePeer Method

Remove the peer with given peer_id from the mesh. If the peer was connected, and NetworkedMultiplayerPeer.peer_connected was emitted for it, then NetworkedMultiplayerPeer.peer_disconnected will be emitted.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void RemovePeer(
	int peerId
)

Parameters

peerId
Type: SystemInt32

[Missing <param name="peerId"/> documentation for "M:Godot.WebRTCMultiplayer.RemovePeer(System.Int32)"]

See Also