public void SelfUserOutMatchMaking(NodeRemoveEvent e, SelfUserInMatchMakingNode selfUser, [JoinAll] SingleNode <UserProfileUI> userProfileUi)
 {
     userProfileUi.component.CanCreateSquad = true;
 }
 public void SelfUserInMatchMaking(NodeAddedEvent e, SelfUserInMatchMakingNode selfUser, [JoinAll] SingleNode <UserProfileUI> userProfileUi, [JoinAll] SingleNode <InviteFriendsPopupComponent> inviteFriendsPopup)
 {
     userProfileUi.component.CanCreateSquad = false;
     inviteFriendsPopup.component.Close();
 }