// Start is called before the first frame update void Awake() { playerPoints.OnPointsAdded += Points_OnPointsAdded; pointText.text = playerPoints.GetPoints().ToString(); }