Hi everyone, today I am working with “Random”, I looked up for tutorials on the subject and I found some on how to randomize through an Array, they were pretty basic and they didn’t helped me with my problem. This is what I want to do:
I have 10 spheres in my scene, all of them have a simple black diffuse material, i need to store them in a GameObject Array, then Randomly pick one and change its material, how can i achieve this? I’m not asking for a precise answer, just point me out to a tutorial or give me a head start.
Thanks for your time.