public void Show(PopUpData data) { imageMaterial.SetVector("_PositionSize", Vector4.zero); mainContent.SetActive(true); popupPanel.Show(data); popupPanel.CenterPosition(); TraceShow(data); popupPanel.AddListener(() => { TraceHide(data); Hide(); }); }