You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
651 B
C#
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
|
|
}
|
|
}
|
|
} |