Hi everyone,
I am basically trying to make a phone screen resolution independent gui button.This is what I have so far, it creates a button and makes it resolution independent:
function OnGUI (){
GUI.Button(Rect(Screen.width * (0.3f/6.55f),Screen.height * (0.3f/6.3f),Screen.width * (1.9f/6.55f), Screen.height * (1.3f/6.3f));
}
What I want is for the button to be transparent. I also am looking for a way to tap this button on a phone and for it to carry out an action. I would be really greatful if you guys could help me. Thanks