Пример #1
0
        public void ShowDocument()
        {
            DocListButton activeDocButton = _docList.GetActiveButton();

            if (activeDocButton != null)
            {
                ShowMainElement(_documentation);

                string docPath  = activeDocButton.DocPath;
                var    document = _documentation.GetComponent <UIDocument>();
                document.ActiveDocument     = docPath;
                document.DocumentTitle.text = IO.FILENAME(docPath);
                document.InputField.text    = _network.GetDocument(docPath);
            }
        }
Пример #2
0
 public void AddDocButton(DocListButton button)
 {
     _docButtons.Add(button);
 }