I have been playing around with paronama sky animating Day/Night cycle in C#, while using this line:
SkySphere.Environment.SetSkyRotationDegrees(new Vector3(0, timeOf, 0));
(timeOf is the calculated time of the day variable)
it works but I get this problem in VS Code:
[deprecated] void Godot.Environment.SetSkyRotationDegrees(Vector3 eulerDegrees)
'Environment.SetSkyRotationDegrees(Vector3)' is obsolete: 'SetSkyRotationDegrees is deprecated. Use the BackgroundSkyRotationDegrees property instead.' [SkySphere_Demo]
My questions is how do we use BackgroundSkyRotationDegrees property?