| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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() |  |         {} |  |     } |  | } | 
 |