Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class InfoGUI : MonoBehaviour {
- void OnGUI()
- {
- GUI.Box(new Rect(20, 20, 120, 30), "Score: " + Player.score + " Lives: " + Player.playerLives);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement