Ejemplo n.º 1
0
        void OnEnable()
        {
            m_Profile = FindProperty(x => x.sharedProfile);

            m_IsGlobal    = FindProperty(x => x.isGlobal);
            m_BlendRadius = FindProperty(x => x.blendDistance);
            m_Weight      = FindProperty(x => x.weight);
            m_Priority    = FindProperty(x => x.priority);

            m_EffectList = new EffectListEditor(this);
            RefreshEffectListEditor(m_Target.sharedProfile);
        }
Ejemplo n.º 2
0
 void OnEnable()
 {
     m_EffectList = new EffectListEditor(this);
     m_EffectList.Init(target as PostProcessProfile, serializedObject);
 }