The question is: How to appropriate a variable rndBall any of values in array NBall
(comments are locked)
|
|
Are you intending to put the various colored balls into NBall, or BallList (which isn't defined in your snippet)? Here's the simplest way to do it.
See also: http://answers.unity3d.com/questions/203/how-to-generate-a-random-number-inside-unity Thanks. i forgot to replace BallList with NBall when i modified the script
Jan 06 '10 at 08:57 PM
Blitz
No problem. Glad I could help!
Jan 06 '10 at 09:35 PM
Ehren
(comments are locked)
|
