Local Multiplayer for iOS/tvOS/macOS Manual & API Reference
Local Multiplayer for iOS/tvOS/macOS Manual & API Reference
LostPolygon.Apple.LocalMultiplayer
AppleLocalMultiplayer.ICustomPeerDiscovery Interface
ICustomPeerDiscovery Methods
InvitePeer Method
StartDiscovery Method
StopDiscovery Method
AppleLocalMultiplayer
ICustomPeerDiscovery
InvitePeer Method
Invites peer
peerId
to the current session.
Namespace:
LostPolygon.Apple.LocalMultiplayer
Syntax
C#
void
InvitePeer
(
PeerId
peerId
,
float
timeout
= 30f )
Parameters
peerId
Type:
LostPolygon.Apple.LocalMultiplayer
PeerId
Invited peer.
timeout
(Optional)
Type:
System
Single
Maximum time for peer to accept the invitation.
See Also
Reference
AppleLocalMultiplayer
ICustomPeerDiscovery Interface
LostPolygon.Apple.LocalMultiplayer Namespace
Lost Polygon © 2013-2017,
LostPolygon.com