Class GamingServices
Uses Authentication, Relay and Lobby from Unity Gaming Services to create an online game. Includes easy matchmaking. You can also set up a host and share the code manually to join the game.
Namespace: AutoBattleFramework.Multiplayer.GamingServices
Assembly: cs.temp.dll.dll
Syntax
public class GamingServices : MonoBehaviour
Methods
FindMatch()
Find an open lobby. If not found, open your own as a host.
Declaration
public async void FindMatch()
HostInRelayByCodeAsync()
Start the host in the relay using a join code. Show the code to share in the field.
Declaration
public async void HostInRelayByCodeAsync()
JoinRelayByCode()
Join the lobby using the code entered in the text field.
Declaration
public void JoinRelayByCode()