Ejemplo n.º 1
0
 //ref: https://forum.unity3d.com/threads/getting-original-size-of-texture-asset-in-pixels.165295/
 public static void GetWidthAndHeight(this TextureImporter self, ref int width, ref int height)
 {
     TextureImporterUtil.GetWidthAndHeight(self, ref width, ref height);
 }
Ejemplo n.º 2
0
 //ref:https://forum.unity3d.com/threads/getting-original-size-of-texture-asset-in-pixels.165295/
 public static void FixTextureSize(this TextureImporter self, Texture2D texture2D)
 {
     TextureImporterUtil.FixTextureSize(self, texture2D);
 }