public void Construct(PartyController partyController, string playerName, GameObject kickButton) { // Set kick button // kickButton.GetComponent <Button>().onClick.AddListener(() => partyController.OpenRemoveMemberWindow(playerName)); }
public void OpenRemoveMemberWindow() { partyController.OpenRemoveMemberWindow(); }