private void RefreshShowKickButton() { Debug.Log(kickButtons.Count); Debug.Log(partyController.IsPartyLeader()); if (kickButtons.Count == 0) { return; } if (!partyController.IsPartyLeader()) { for (int i = 0; i < kickButtons.Count; i++) { kickButtons[i].SetActive(false); } return; } kickButtons[0].SetActive(false); for (int i = 1; i < kickButtons.Count; i++) { kickButtons[i].SetActive(true); } }