Author Topic: Off-screen performance?  (Read 2040 times)


  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Off-screen performance?
« on: November 06, 2012, 12:38:10 PM »
Newb question, but up until now I've been creating widgets and Activating/Deactivating them as needed.  I have several now that I am sliding onto the screen from outside the camera boundaries, and I was curious if there would be any performance hit if I just left them Active at all times.

So: Is there a difference in performance between a sprite that is offscreen and a sprite that is Deactivated?



  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Off-screen performance?
« Reply #1 on: November 06, 2012, 02:58:01 PM »
In theory yes as they do not need to be checked to see if the camera can see them, but it depends upon how Unity internally handles active off screen and inactive objects and their meshes/textures/memory usage.

Also any attached scripts are not being processed on Inactive Objects.
« Last Edit: November 06, 2012, 03:00:12 PM by Arowx »