Unity Gaming Services (UGS) API endpoints for Multiplayer Widgets
Each Multiplayer Widget uses the API from the Multiplayer Service or Vivox packages. This table lists every end point that each Multiplayer Widget uses.
Multiplayer Widget | API end points |
---|---|
Create Session | CreateSessionAsync(SessionOptions) |
Join Session by Code | JoinSessionByCodeAsync(string, JoinSessioOptions) |
Quick Join Session | MatchmakeSessionAync(QuickJoinOptions, SessionOptions) |
Session List | QuerySessionsAsync(QuerySessionsOptions) JoinSessionByIdAsync(string, JoinSessionOptions) |
Leave Session | Session.LeaveAsync() |
Session Player List | Session.Players Session.PlayerJoined Session.PlayerLeft |
Show Session Code | Session.Code |
Select Input Audio Device | SetActiveInputDeviceAsync(VivoxInputDevice) |
Select Output Audio Device | SetActiveOutputDeviceAsync(VivoxOutputDevice) |
Text Chat | SendChannelTextMessageAsync(string, string, MessageOptions) |