Search Unity

Stay in the same place no matter what resolution?

Discussion in 'Scripting' started by TheftAdi, Aug 17, 2014.

  1. TheftAdi

    TheftAdi

    Joined:
    Jul 24, 2014
    Posts:
    10
    Hello,
    Is it possible that the boxes (Attached Image) stay always around the screen no matter what resolution the screen has? Something like anchors?
     

    Attached Files:

  2. Fluzing

    Fluzing

    Joined:
    Apr 5, 2013
    Posts:
    815
    NGUI has anchors, but you can always scale them using Screen.width and height.
     
  3. TheftAdi

    TheftAdi

    Joined:
    Jul 24, 2014
    Posts:
    10
    Ok thanks :)