Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Transform posistion to pixel posistion

Discussion in '2D' started by Aqwoania, Mar 28, 2015.

  1. Aqwoania

    Aqwoania

    Joined:
    Mar 28, 2015
    Posts:
    5
    I need to place my objects within pixel measurements (for ease of precision)

    I've done my research and found out I can use the Camera.WorldToScreenPoint
    I have no idea how to implement it.
    Do I create a new script?
    If so, where do I put it?
    Should I place it in camera object,button objects etc?

    Thanks for reading.