how to keep gui texture position as it is after changing resolution?

I have a guitexture and i m creating my application for ios and android.
But the screen resolution for both is diffrent.
And my guitexture position is changing in different resolution.
Any code?

Use Screen.height and Screen.width to make your position relative.

For example :

Vector2 pos = new Vector2(Screen.width*0.5f, Screen.height*0.5f); // center of the screen