Developer Documentation

PeerJoinedProxy

Defines the structure of the OnPeerJoined event. See PeerJoinedEventArgs for more info on the payload sent with this event.

sender is typically an instance of the Room class.

You need to create a function with this prototype and then link the OnPeerJoined that you can find in the inspector of the Odin Handler Prefab or use code to attach a listener to that event of your OdinHandler instance like so:

OdinHandler.Instance.OnPeerJoined.AddListener(OnPeerJoined);