public void OnCloseClicked() { if (_didCustomTagsChange) { UnityAction afterSetTags = () => { gameObject.SetActive(false); }; PF_PlayerData.SetFriendTags(activeFriend.FriendPlayFabId, activeFriend.Tags, afterSetTags); } ProfilePhoto.overrideSprite = null; gameObject.SetActive(false); }