Basically I want to detect button click event. This button is new Unity UI control. But in this I have one problem. When I click on button, one of my statement also execute at same time.
Following statements :
So code under if statement also gets executed, I want to stop this. I only want to run my button click code. At present button click code is running as well if statement code is running.
Please give me some...
Only want to detect button click event
Following statements :
Code (CSharp):
- // code snippet
- }
Please give me some...
Only want to detect button click event