I am trying to make a day night cycle with tutorial and I follow his script but I got an error that I found so many resource still can’t be solve,guys help me,it stuck me for few days,plz!
Where is the type named “xxx” defined?
This error is saying that a type named “xxx” is not defined.
Can you show the definition of the type “xxx”?
(Edit: Disregard my post, LightStriker beat me to it. )
Actually I don’t know how to defined the array with a right way,but here is whole script and error.
Let’s try something else… What IS “xxx”?
XXX is Sun,origin name is Sun,but I test the error to change its name that I will better to see it influence.
You wrote a class named “XXX” somewhere? Can you post that code?
Oh ! thanks your notice,I fixed it problem by change the xxx name to the class name,and no error,sun working!
Thank you guys , you are the best!