Пример #1
0
 // Start is called before the first frame update
 void Awake()
 {
     playerPoints.OnPointsAdded += Points_OnPointsAdded;
     pointText.text              = playerPoints.GetPoints().ToString();
 }