here is my code:
if(GUI.Button(Rect (screenW-250,screenH/2-350,100,50),"instruction",ins)) && Input.GetKeyDown(KeyCode.mouse0)){
if(showIns == true){
showIns = false;
}
but this doesnt work… do you know some other way of doing this?
else if(showIns == false){
showIns =true;
}
}