You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
520 B

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()
{}
}
}