すべてを統合する - 専用サーバーの参加可能なセッションを閲覧する - (Unity モジュール)
Last updated on May 30, 2024
Connect the UI to the find and display available sessions
Open the project in the Unity Editor and then open the
BrowseMatchMenuCanvas_Starter.cs
script. You will call the AccelByte Gaming Services (AGS) Game SDK API to browse match sessions via the wrapper class. ModifyBrowseMatchSession
function as follows:private void BrowseMatchSession()
{
Reset();
browseMatchSessionWrapper_Starter.BrowseMatch(OnBrowseMatchSessionFinished);
ShowLoading("Getting Match Sessions...", CancelBrowseMatchSession);
}
Resources
- The file used in this tutorial section is available in the Unity Byte Wars GitHub repository: