I’m trying to get a unity GUITexture working in order to set up a button system but the GUITexture I’ve created seems to have grossly exaggerated proportions compared with the base values I’ve set in the inspector.
I’ve been working off of the Unity Standard Assets(mobile) pack and have been using the dual joystick set-up as a an example. The GUI textures for the thumbsticks in the dual joystick setup both appear realistically sized according to the inspector settings (100 pixels) and adjust accordingly when these values change. My GUI texture, however, must be set to a width and height of around -600 to scale down to a size that’s comparable with the original source image. The image also scales in the game window when I adjust the window size, whereas the thumbsticks do not.
Here’s an image comparing the 2 thumbstick guitextures and the third new guitexture. Notice the pixel inset width and height are both set to 0, yet the image is still gigantic and stretched.
I’m trying to get a texture into the scene with dimensions that set according to the values entered and that does not scale with the window size.
Any help would be much appreciated!