Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using UnityEngine.UI;
- using System.Collections;
- public class Click : MonoBehaviour {
- Parametres parametres = new Parametres();
- public Text ui;
- void Update()
- {
- ui.text = parametres.i.ToString();
- if(Input.GetKeyDown(KeyCode.C))
- {
- parametres.i += 20;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement