Advertisement
jretchy

Untitled

May 17th, 2022
352
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement