Beispiel #1
0
    public void Init()
    {
        confirmClick.onClick.AddListener(() =>
        {
            OnConfirmClick?.Invoke();
        });

        backClick.onClick.AddListener(() =>
        {
            OnBackClick?.Invoke();
        });
    }
Beispiel #2
0
    public void Init()
    {
        confirmButton.onClick.AddListener(() =>
        {
            OnConfirmClick?.Invoke();
        });

        cancelButton.onClick.AddListener(() =>
        {
            OnCancelClick?.Invoke();
        });

        switchToPlayAreaButton.onClick.AddListener(() =>
        {
            OnSwitchToPlayAreaClick?.Invoke();
        });
    }
Beispiel #3
0
    public void Init()
    {
        confirmButton.onClick.AddListener(() =>
        {
            OnConfirmClick?.Invoke();
        });

        cancelButton.onClick.AddListener(() =>
        {
            OnCancelClick?.Invoke();
        });

        resetButton.onClick.AddListener(() =>
        {
            OnResetClick?.Invoke();
        });
    }