mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-29 08:37:58 +01:00
27 lines
520 B
C#
27 lines
520 B
C#
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()
|
|
{}
|
|
}
|
|
}
|