void OnEnable()
        {
            var settings = FieldFinder <ScreenSpaceReflection> .GetField(x => x.settings);

            foreach (var setting in settings.FieldType.GetFields())
            {
                var prop = settings.Name + "." + setting.Name;
                m_Properties.Add(serializedObject.FindProperty(prop));
            }
        }
        public void OnEnable()
        {
            var settings = FieldFinder <TemporalAntiAliasing> .GetField(x => x.settings);

            foreach (var setting in settings.FieldType.GetFields())
            {
                var property = settings.Name + "." + setting.Name;
                m_Properties.Add(serializedObject.FindProperty(property));
            }
        }
Ejemplo n.º 3
0
        void OnEnable()
        {
            var settings = FieldFinder <Bloom> .GetField(x => x.settings);

            foreach (var setting in settings.FieldType.GetFields())
            {
                var prop = settings.Name + "." + setting.Name;
                m_Properties.Add(serializedObject.FindProperty(prop));
            }

            _graph = new BloomGraphDrawer();
        }