How to set Cookie offset in URP Unity?

Viewed 168

Here in manual we see described text about cookie offset "You can also animate this property to scroll the cookie" :

enter image description here

Here in Editor i can change the offset in runtime:

enter image description here

But how to do this from script if he tells me this:

'Light' does not contain a definition for 'cookieOffset' and no accessible extension method 'cookieOffset' accepting a first argument of type 'Light' could be found

0 Answers
Related