Interface INetworkRegisterable
Allows network components to listen for register events.
Namespace: SuperNet.Unity.Components
Assembly: cs.temp.dll.dll
Syntax
public interface INetworkRegisterable
Methods
OnNetworkRegister(Peer)
Called when this component is registered on a peer.
Declaration
void OnNetworkRegister(Peer remote)
Parameters
Type | Name | Description |
---|---|---|
Peer | remote | Peer the component is registered on. |
OnNetworkUnregister(Peer)
Called when this component is unregistered from a peer.
Declaration
void OnNetworkUnregister(Peer remote)
Parameters
Type | Name | Description |
---|---|---|
Peer | remote | Peer the component is unregistered from. |