Files
beyond/Assets/ThirdParty/Procedural Worlds/Gaia/Scripts/Lighting System/PWSkyPostProcessingManager.cs
2024-11-20 15:21:28 +01:00

26 lines
651 B
C#

using UnityEngine;
namespace Gaia
{
public class PWSkyPostProcessingManager : MonoBehaviour
{
public void DisableWeatherPostFX()
{
#if GAIA_PRO_PRESENT
if (ProceduralWorldsGlobalWeather.Instance != null)
{
ProceduralWorldsGlobalWeather.Instance.m_modifyPostProcessing = false;
}
#endif
}
public void EnableWeatherPostFX()
{
#if GAIA_PRO_PRESENT
if (ProceduralWorldsGlobalWeather.Instance != null)
{
ProceduralWorldsGlobalWeather.Instance.m_modifyPostProcessing = true;
}
#endif
}
}
}