Beispiel #1
0
        public static SettingsProvider CreateSettingsProvider()
        {
            return(new SettingsProvider("Project/Default Settings/HDRP", SettingsScope.Project)
            {
                activateHandler = (searchContext, rootElement) =>
                {
                    HDEditorUtils.AddStyleSheets(rootElement);

                    var panel = new DefaultSettingsPanel(searchContext);
                    panel.style.flexGrow = 1;

                    rootElement.Add(panel);
                },
                keywords = new [] { "default", "hdrp" }
            });
        }
 protected CleanDisplay()
 {
     SettingsPanel      = new DefaultSettingsPanel();
     SettingsCollection = new Dictionary <string, object>();
 }