public void OnRemoveFriendClicked() { UnityAction afterRemove = () => { controller.UpdateFriendList(); OnCloseClicked(); }; PF_PlayerData.RemoveFriend(activeFriend.FriendPlayFabId, afterRemove); }