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

Unity UI [Solved] How to convert screen point to canvas point?

Discussion in 'UGUI & TextMesh Pro' started by Deleted User, Aug 31, 2018.

  1. Deleted User

    Deleted User

    Guest

    There are a lot of questions on how to do the reverse but not this.
    I have a few points that are in UI coordinates and would like to convert them to Canvas space.
    How to do this?
     
  2. Deleted User

    Deleted User

    Guest

    Solved it using RectTransformUtility.ScreenPointToLocalPoint
     
    Xtro, arnomi, masterton and 2 others like this.