Radar - batching the points?

Hi,
Basically I am using the radar script off the community Wiki… It works great, however Im using it on iPhone and each of the GUI.DrawTexture’s are coming out as a draw call each (jumps from 30 draw calls to 60 with the radar on).

I was just wondering if there was a way to batch them/ if so how?

Cheers,
Adam G

You might be able to speed things up using a particle system. You can access the individual particles using the emitter’s particles array and set their position directly from a script. You can then use each particle as a radar blip and avoid the GUI overhead.

It is possible to create a single texture and draw the blips into it using the Texture2D class, but I doubt this would be faster than the GUI. Maybe worth a try, though.

Brilliant idea…totally derailed my current train of thought to go play with that. I see some really slick applications for that in the splendor of a single draw call.