Hmm, need some help here - currently trying to pop up a menu while a button is down. Currently, I’m doing this:
function Update () {
if (Input.GetButtonDown ("Fire3")) {
renderer.material.color.a = 1;
}
else renderer.material.color.a = 0;
}
But of course that only works for a tick - then it goes back to 0.
I need the menu to keep alpha at 1 until I let go of the button.
Help!