NodeSetNetworkMaster Method |
Sets the node's network master to the peer with the given peer ID. The network master is the peer that has authority over the node on the network. Useful in conjunction with the master and puppet keywords. Inherited from the parent node by default, which ultimately defaults to peer ID 1 (the server). If recursive, the given peer is recursively set as the master for all children of this node.
Namespace: Godot
public void SetNetworkMaster( int id, bool recursive = true )
[Missing <param name="id"/> documentation for "M:Godot.Node.SetNetworkMaster(System.Int32,System.Boolean)"]
[Missing <param name="recursive"/> documentation for "M:Godot.Node.SetNetworkMaster(System.Int32,System.Boolean)"]