Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GameController controller;
- void Awake() {
- controller = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameController>();
- }
- void Update() {
- //to get score
- controller.[score int]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement