Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. 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