Situation: User can instantiate over 40 objects per click (these objects are then initialized, and drawn by GUI.DrawTexture) that later fly through the screen. After some time these objects fade out and get destroyed, but since this process is somewhat slow, user creates objects faster then they disappear. Anyway, at some point I reached 5 fps. But my CPU usage is under 30%, and my GPU is definietely not the case. What is the cause of this problem?
↧