Make work with astra

This commit is contained in:
Andras Schmelczer 2026-09-14 08:01:49 +01:00
commit c8ee5045e2

View file

@ -0,0 +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()
{}
}
}