public void AcceptInvitation() { Game.Instance.OnlinePlay = true; Game.Instance.BluetoothPlay = false; Game.Instance.LocalMultiPlayer = false; dialog.SetActive(false); #if UNITY_ANDROID InvitationManager.Instance.Clear(); OnlineManager.AcceptInvitation(inv.InvitationId); #elif UNITY_IPHONE #endif }