private void SetEvent()
        {
            _view.BackButtonClickedEvent.AddListener(() => { DrillDownManager.Hide(() => { Debug.Log("HideComplete"); }); });

            _view.NextButtonClickedEvent.AddListener(() =>
            {
                DrillDownManager.Show(ExampleResourcePrefabPath.GetDrillDownViewerPath("DrillDownViewer1")
                                      , null
                                      , () => { Debug.Log("Show Complete"); });
            });
        }
Example #2
0
        private void SetEvent()
        {
            _showDrillViewButton.onClick.AddListener(() =>
                                                     _manager.Show(ExampleResourcePrefabPath.GetDrillDownViewerPath("DrillDownViewer1"), null, () =>
            {
                Debug.Log("Show Complete");
            }));

            _clearButton.onClick.AddListener(() =>
            {
                _manager.Clear(() =>
                {
                    Debug.Log("Clear Complete");
                });
            });
        }