Search Unity

Change pixels per unit for an imported asseet, but only on x axis

Discussion in '2D' started by unity_bZdtBAhk-V-2wg, Mar 2, 2021.

  1. unity_bZdtBAhk-V-2wg

    unity_bZdtBAhk-V-2wg

    Joined:
    May 14, 2020
    Posts:
    3
    Instead of changing the transform scale values of my imported asset, I thought it would be a better idea to change the pixels per unit and keep the scale to 1 on all axis. The problem is that my preferred scale of the asset is 0.45 on the x-axis and 0.34 on the y-axis. Is there any way to resize the image on the x-axis in unity without changing the scale property in the transform?

    I have tried to just stretch the picture in pixlr.com (simple image editor) and while that worked fine, it made the image more blurry so is there any way for me to accomplish the same thing without quality loss?
     
  2. rarac

    rarac

    Joined:
    Feb 14, 2021
    Posts:
    570
    theres not a way to do that

    use a good program like photoshop to stretch your image, or use the scale, why do you want to keep scale 1?