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)); } }
public static void OpenDocumentationHtml() { DocumentationHelper.OpenDocumentationInBrowser("index.html"); }