if i put these lines of code in the script:
i get this error:
Unexpected Token: ..
i wanted to start using lists instead of arrays but no luck... it seems that most simplest thing is not working, like declaring a list...i am using unityscript as you can see....
cross post in unity forums: http://forum.unity3d.com/threads/80203-can-someone-explain-to-me-why-this-does-not-work
">= " is interpreted as greater than or equal to. Use nicer spacing; pixels are plentiful on modern monitors. ;-)
Also, it's JS, so you don't need new if you don't want, and you don't need to declare the type, either.
answered Mar 02 '11 at 12:43 PM
You have a '.' between List and < ie List.< should be List<
answered Mar 02 '11 at 01:47 PM