private void Initialize(PrivateChatWindowHUDController controller) { this.controller = controller; this.minimizeButton.onClick.AddListener(OnMinimizeButtonPressed); this.closeButton.onClick.AddListener(OnCloseButtonPressed); this.backButton.onClick.AddListener(() => { OnPressBack?.Invoke(); }); }
void View_OnPressBack() { OnPressBack?.Invoke(); }