public void showAttack(UserGameData user) { if (!userListPanel.getTurnUser().email.Equals(user.email)) { AttackState state = attackPanel.GetComponent <AttackState>(); state.show(roomNo, user); } }