Search Unity

  1. Click here to see what's on sale for the "Best of Super Sale" on the Asset Store
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

event to handle screen dimension change?

Discussion in '2D' started by DarkMarmot, Nov 14, 2013.

  1. DarkMarmot

    DarkMarmot

    Joined:
    Nov 13, 2013
    Posts:
    22
    Trying to lay things out and view them in the game window, I'd like to be able to act on size changes to the window so my 2D elements can appropriately position themselves. Is there any event I can listen for? Or do i need to query the resolution every frame and dispatch an event myself?

    Thanks,
    Scott
     
unityunity