// refactor and make more abstract all this code public void ResultGroupJoin(bool success) { LoadingJoinGroup.SetActive(false); if (success) { SuccessJoinGroup.SetActive(true); } else { ErrorJoinGroup.SetActive(true); } StartCoroutine(RevertGroupJoin(success)); }
public void LoadingJoin() { JoinGroupForm.SetActive(false); LoadingJoinGroup.SetActive(true); }