private void Initialize() { gameObject.name = VIEW_OBJECT_NAME; closeButton.onClick.AddListener(() => { OnCancelClick?.Invoke(); }); cancelButton.onClick.AddListener(() => { OnCancelClick?.Invoke(); }); continueButton.onClick.AddListener(() => { OnContinueClick?.Invoke(); }); }
public void Init() { confirmButton.onClick.AddListener(() => { OnConfirmClick?.Invoke(); }); cancelButton.onClick.AddListener(() => { OnCancelClick?.Invoke(); }); resetButton.onClick.AddListener(() => { OnResetClick?.Invoke(); }); }