12345678910111213141516171819202122232425262728293031323334 |
- using System;
- namespace UnityEngine.PostProcessing
- {
- [Serializable]
- public abstract class PostProcessingModel
- {
- public bool enabled
- {
- get
- {
- return this.m_Enabled;
- }
- set
- {
- this.m_Enabled = value;
- if (value)
- {
- this.OnValidate();
- }
- }
- }
- public abstract void Reset();
- public virtual void OnValidate()
- {
- }
- [SerializeField]
- [GetSet("enabled")]
- private bool m_Enabled;
- }
- }
|