I’m trying to refrence the rotation in the HDRI sky to have a rotating loop of the sky (adding a nice effect) except I’m having trouble getting the reference to the component with a script.
https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@5.3/manual/HDRI-Sky.html
public class SkyRotator : MonoBehaviour
{
public GameObject sky;
private void Awake()
{
sky = GameObject.GetComponent<HDRISky>();
}
}
I figured if I had the reference I can just create a larp or loop over two values to rotate. Am I approaching this correctly or is the HDRI sky map a whole different beast of it’s own?