GUITexture.pixelInsetvar pixelInset : RectDescriptionPixel inset used for pixel adjustments for size and position. You can set the transform.localScale to Vector3.zero in order to make the GUI texture always the same pixel size.
JavaScript
transform.position = Vector3.zero; using UnityEngine; import UnityEngine |
