public SerializedPropertyTable(string serializationUID, SerializedPropertyDataStore.GatherDelegate gatherDelegate, SerializedPropertyTable.HeaderDelegate headerDelegate)
 {
     this.m_SerializationUID = serializationUID;
     this.m_GatherDelegate   = gatherDelegate;
     this.m_HeaderDelegate   = headerDelegate;
     this.OnEnable();
 }
Example #2
0
 public SerializedPropertyTable(string serializationUID, SerializedPropertyDataStore.GatherDelegate gatherDelegate, HeaderDelegate headerDelegate)
 {
     //dragHandleEnabled = true;
     m_SerializationUID = serializationUID;
     m_GatherDelegate   = gatherDelegate;
     m_HeaderDelegate   = headerDelegate;
     //OnEnable();
 }
Example #3
0
        public SerializedPropertyTable(string serializationUID, SerializedPropertyDataStore.GatherDelegate gatherDelegate, HeaderDelegate headerDelegate, bool showFilterGUI)
        {
            m_SerializationUID = serializationUID;
            m_GatherDelegate   = gatherDelegate;
            m_HeaderDelegate   = headerDelegate;

            m_ShowFilterGUI = showFilterGUI;
        }
Example #4
0
 private void OnEnable()
 {
     base.titleContent = base.GetLocalizedTitleContent();
     if (this.m_TableTabs == null || this.m_TableTabs.Count != 4)
     {
         List <LightingExplorerWindowTab> list     = new List <LightingExplorerWindowTab>();
         List <LightingExplorerWindowTab> arg_7B_0 = list;
         string arg_71_0 = "LightTable";
         SerializedPropertyDataStore.GatherDelegate arg_71_1 = () => UnityEngine.Object.FindObjectsOfType <Light>();
         if (LightingExplorerWindow.< > f__mg$cache0 == null)
         {
             LightingExplorerWindow.< > f__mg$cache0 = new SerializedPropertyTable.HeaderDelegate(LightTableColumns.CreateLightColumns);
         }
         arg_7B_0.Add(new LightingExplorerWindowTab(new SerializedPropertyTable(arg_71_0, arg_71_1, LightingExplorerWindow.< > f__mg$cache0)));
         List <LightingExplorerWindowTab> arg_CA_0 = list;
         string arg_C0_0 = "ReflectionTable";
         SerializedPropertyDataStore.GatherDelegate arg_C0_1 = () => UnityEngine.Object.FindObjectsOfType <ReflectionProbe>();
         if (LightingExplorerWindow.< > f__mg$cache1 == null)
         {
             LightingExplorerWindow.< > f__mg$cache1 = new SerializedPropertyTable.HeaderDelegate(LightTableColumns.CreateReflectionColumns);
         }
         arg_CA_0.Add(new LightingExplorerWindowTab(new SerializedPropertyTable(arg_C0_0, arg_C0_1, LightingExplorerWindow.< > f__mg$cache1)));
         List <LightingExplorerWindowTab> arg_119_0 = list;
         string arg_10F_0 = "LightProbeTable";
         SerializedPropertyDataStore.GatherDelegate arg_10F_1 = () => UnityEngine.Object.FindObjectsOfType <LightProbeGroup>();
         if (LightingExplorerWindow.< > f__mg$cache2 == null)
         {
             LightingExplorerWindow.< > f__mg$cache2 = new SerializedPropertyTable.HeaderDelegate(LightTableColumns.CreateLightProbeColumns);
         }
         arg_119_0.Add(new LightingExplorerWindowTab(new SerializedPropertyTable(arg_10F_0, arg_10F_1, LightingExplorerWindow.< > f__mg$cache2)));
         List <LightingExplorerWindowTab> arg_151_0 = list;
         string arg_147_0 = "EmissiveMaterialTable";
         SerializedPropertyDataStore.GatherDelegate arg_147_1 = this.StaticEmissivesGatherDelegate();
         if (LightingExplorerWindow.< > f__mg$cache3 == null)
         {
             LightingExplorerWindow.< > f__mg$cache3 = new SerializedPropertyTable.HeaderDelegate(LightTableColumns.CreateEmissivesColumns);
         }
         arg_151_0.Add(new LightingExplorerWindowTab(new SerializedPropertyTable(arg_147_0, arg_147_1, LightingExplorerWindow.< > f__mg$cache3)));
         this.m_TableTabs = list;
     }
     for (int i = 0; i < this.m_TableTabs.Count; i++)
     {
         this.m_TableTabs[i].OnEnable();
     }
     EditorApplication.searchChanged = (EditorApplication.CallbackFunction)Delegate.Combine(EditorApplication.searchChanged, new EditorApplication.CallbackFunction(base.Repaint));
     base.Repaint();
 }
 public SerializedPropertyTable(string serializationUID, SerializedPropertyDataStore.GatherDelegate gatherDelegate, HeaderDelegate headerDelegate)
 {
     m_SerializationUID = serializationUID;
     m_GatherDelegate   = gatherDelegate;
     m_HeaderDelegate   = headerDelegate;
 }
 public SerializedPropertyDataStore(string[] propNames, SerializedPropertyDataStore.GatherDelegate gatherDel)
 {
     this.m_PropNames = propNames;
     this.m_GatherDel = gatherDel;
     this.Repopulate();
 }