- Home /
What is the most efficient way of drawing many 2D sprites ?
Hello,
I'm trying to find an efficient way of drawing many 2D sprites to the screen at once. I've looked a bit on these forums and on the internet, and three main methods seem to stick out : Gui.DrawTexture, Graphics.DrawTexture, and creating a GameObject with a sprite. I'm currently using Gui.DrawTexture, however my game will sometimes drop in framerate with GFX.WaitForPresent taking around 85-90% of my frame time. Will changing to Graphics.DrawTexture or the gameObject method change anything ? Also isn't creating a gameObject to draw a sprite much less efficient than simply calling a DrawTexture function, seeing as it adds quite a bit of overhead.
Thank you for your time and answers,
Your answer
![](https://koobas.hobune.stream/wayback/20220613201704im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Performance Impact - Anima 2D or Sprite Animation? 0 Answers
Drop on fps while disabling/enabling too many renderers at once (2D) 0 Answers
Many 2048x2048 Spritesheets vs A Single 4096x4096 Spritesheet 0 Answers
Is there a way to disable the IK Manager on playtime without impairing the animation? 0 Answers