예제 #1
0
        private void Update()
        {
            if (debugScreenOptions.Count > 0)
            {
                UITreeView.Item parent = DebugScreen.AddContentItem(null, "bugreport", "Bug report", null, null);
                DebugScreen.AddContentItem(parent, "createreport", "Create report", null, CreateReportFromDebugScreen);
                DebugScreen.AddContentItem(parent, "addscreenshot", "Add screenshot to last report", null, AddScreenshotToLastReport);
                DebugScreen.AddContentItem(parent, "uploadreport", "Upload last report", null, UploadLastReport);
                DebugScreen.AddContentItem(parent, "copylinktoclipoard", "Copy last upload link to clipboard", null, CopyLastLinkToClipboard);
                DebugScreen.AddContentItem(parent, "openreport", "Open last report", null, OpenReportFromDebugScreen);
                DebugScreen.AddContentItem(parent, "openfolder", "Open report folder", null, OpenFolderFromDebugScreen);

                Destroy(this);
            }
        }