I know that this questions are basic but I didnt find answer using google on my weak mobile, so please dont curse for asking here, on unity answers I didnt get answers, so I hope you will help me here. This is what is my problem. Answer using java script, I dont know c#. 1. Using if else and booleans. I have if else for…
Hey thank you. My mistake was thinkinh that in 'else' also had to be if cobdition. About second part. How do I apply it to some gui button? I get it that alpha channel get lover over time but how to apply it to texture?
1. If that is your code, you probably need to put things between brackets. If you make an IF statement and then don't use brackets, it is going to only check the first line that comes after it. The next lines will run every time you click. Your code should be something this: if (myboolean == false){myboolean =…