Esempio n. 1
0
        public void OpenDocumentationForScene()
        {
            if (Application.isEditor)
            {
                var sceneName = SceneManager.GetActiveScene().name;

                if (sceneName.EndsWith("_cloud") || sceneName.EndsWith("_offline"))
                {
                    sceneName = sceneName.Replace("_cloud", "");
                    sceneName = sceneName.Replace("_offline", "");
                }

                DocumentationHelper.OpenDocumentationInBrowser(string.Format("scene_{0}.html", sceneName));
            }
        }
Esempio n. 2
0
 public static void OpenDocumentationHtml()
 {
     DocumentationHelper.OpenDocumentationInBrowser("index.html");
 }