- Home /
Question by
jazz_up_feeling_0809 · Dec 14, 2016 at 08:27 PM ·
texturescript.sizequad
How can i get original Pixel size of texture in C# script?
I want to get source texture file Pixel size in C# script.
And, I want to apply the Pixel size to Quad. (I'd not like to scale the size)
How can i get native Pixel width and height of texture file in C# script??
And, how can i apply the Pixel size to Quad?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612102715im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to change normal map to unity water (pro) by script 0 Answers
Wrong Texture Size 1 Answer
Mip mapping and texture sizes 0 Answers
How can I add a texture to a quad in Unity 5.1 2 Answers
Blurry Texture at large size. 2 Answers