コード例 #1
0
 public static void CreateQuickGame()
 {
     _instance = new ReversoGooglePlay();
     PlayGamesPlatform.Instance.RealTime.CreateQuickGame(QuickGameOpponents, QuickGameOpponents,
             GameVariant, _instance);
 }
コード例 #2
0
 public static void AcceptInvitation(string invitationId)
 {
     _instance = new ReversoGooglePlay();
     PlayGamesPlatform.Instance.RealTime.AcceptInvitation(invitationId, _instance);
 }
コード例 #3
0
 public void CleanUp()
 {
     PlayGamesPlatform.Instance.RealTime.LeaveRoom();
     //TODO Maybe back to Main menu here
     _gameState = GameState.Aborted;
     _instance = null;
 }
コード例 #4
0
 public static void AcceptFromInbox()
 {
     _instance = new ReversoGooglePlay();
     PlayGamesPlatform.Instance.RealTime.AcceptFromInbox(_instance);
 }
コード例 #5
0
 public static void CreateWithInvitationScreen()
 {
     _instance = new ReversoGooglePlay();
     PlayGamesPlatform.Instance.RealTime.CreateWithInvitationScreen(MinOpponents, MaxOpponents,
             GameVariant, _instance);
 }