Unity directional light's direciton?

Hi All,

I’m new to unity, but how do I get the directional light’s direction vector? it only have a position and that’s incorrect

The direction of the light is controlled by its rotation. So if you wanted a a light that pointed straight down for example you could set the rotation to (0,-90,0). If you want the direction as a vector for a script, you can use the ‘transform.forward’ of the light game object. If you want to set it to a particular vector, you can assign the Transform.rotation using Quaternion.LookRotation().