예제 #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);
 }