Advertisement
jretchy

Untitled

May 17th, 2022
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1.  public static int pointsValue = 4;
  2.     Text points;
  3.  
  4.     private void Start()
  5.     {
  6.         points = GetComponent<Text>();
  7.     }
  8.  
  9.     private void Update()
  10.     {
  11.         points.text = "Skill points remaining: " + pointsValue;
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement