少年修仙传客户端基础资源
leonard Wu
2018-08-09 a10eea6e4ce647061813519d5b0ea496f29495b9
Assets/Plugins/PostProcessing/Runtime/PostProcessingModel.cs
@@ -1,27 +1,27 @@
using System;
namespace UnityEngine.PostProcessing
{
    [Serializable]
    public abstract class PostProcessingModel
    {
        [SerializeField, GetSet("enabled")]
        bool m_Enabled;
        public bool enabled
        {
            get { return m_Enabled; }
            set
            {
                m_Enabled = value;
                if (value)
                    OnValidate();
            }
        }
        public abstract void Reset();
        public virtual void OnValidate()
        {}
    }
}
using System;
namespace UnityEngine.PostProcessing
{
    [Serializable]
    public abstract class PostProcessingModel
    {
        [SerializeField, GetSet("enabled")]
        bool m_Enabled;
        public bool enabled
        {
            get { return m_Enabled; }
            set
            {
                m_Enabled = value;
                if (value)
                    OnValidate();
            }
        }
        public abstract void Reset();
        public virtual void OnValidate()
        {}
    }
}