Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

UI button is not working

$
0
0
As the title says, I can't do anything to make it work:(.If I press the button,I want it to add 1 to the total number of currentprogr, but to later use the variable.Now, it shows the changeble text, but the button doesn't find any function in the class Hire_programmers or GameMechanics or Employees.I even assigned both scripts to the button.:( View attachment 198071 .
Here is my code:
The main c#:
Code (CSharp):
  1.  
  2. using UnityEngine;
  3. using System.Collections;
  4. using UnityEngine.UI;
  5.  
  6. public...
UI button is not working

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>