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#:
UI button is not working


Here is my code:
The main c#:
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- using UnityEngine.UI;
- public...