Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using UnityEngine.UI;
- public class ScriptJobs : MonoBehaviour
- {
- public void SetText(string text)
- {
- Text txt = transform.Find("Text").GetComponent<Text>();
- txt.text = text;
- }
- public int balance;
- public void OnClick()
- {
- int balance = GameManager.balance + 100;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement