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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Converting iOS PT to Pixels

Discussion in 'General Discussion' started by rastleks, Aug 17, 2022.

  1. rastleks

    rastleks

    Joined:
    Jul 17, 2014
    Posts:
    33
    Hello.

    Question is pretty simple. How to convert iOS pt (points) to pixels? It's must have to offsett UI on the height of the advertisment banner.

    On android it very easy: dp * Screen.dpi / 160 (android use DP, not PT). On iOS same thing doesnt work.

    Please help.