TouchPads moving when I hit the PLAY button

Hi. Basically I am making a FPS for android and it had to rescale my GUI textures for different resolutions. I have attached a script to the Touch Pads and the script says:

public var t:GUITexture;

function Start()
{
t.pixelInset.width =0.1Screen.width;
t.pixelInset.height=0.1
Screen.width;
}

I have positioned my touch pads in the correct place on screen with 0 on the pixel inset and they are still fine. But when I hit play to test it they disappear and while it is still running the pixel inset goes really high or low. When I go off play mode the pixel inset goes back to 0. I am still new to unity so I would be really great full if someone could help me out ASAP.

did you notice that start function is changing the pixelinset values?

the start method runs when you start the game mode. It does no effect in the edit mode. That’s why you see the difference between play and edit modes.

If you are modifying some values in the start function, the setup you did in the edit mode does no effect in play mode.