add weather and time

This commit is contained in:
XuGaoFeng
2026-05-09 09:10:52 +08:00
parent 48e0dea5e1
commit 0ca1b49fa7
639 changed files with 121558 additions and 102 deletions

View File

@@ -0,0 +1,32 @@
#if ENVIRO_HDRP
using System;
using UnityEngine.Rendering.HighDefinition;
namespace UnityEngine.Rendering.HighDefinition
{
[VolumeComponentMenu("Sky/Enviro 3 Skybox")]
[SkyUniqueID(990)]
public class EnviroHDRPSky : SkySettings
{
public override int GetHashCode()
{
int hash = base.GetHashCode();
unchecked
{
}
return hash;
}
public override int GetHashCode(Camera camera)
{
// Implement if your sky depends on the camera settings (like position for instance)
return GetHashCode();
}
public override Type GetSkyRendererType() { return typeof(EnviroHDRPSkyRenderer); }
}
}
#endif