I am making a an app similar to this. In the 8th video, a scoring feature is added. Is there anyway to edit that code so instead of counting every time an object is picked up, that text is displayed instead. An example of the code to COUNT:
if (other.gameObject.CompareTag("PickUp"))
{
other.gameObject.SetActive(false);
count = count + 1;
countText.text = "Count: " + count.ToString();
}
}
void SetCountText()
{
countText.text = "Count: " + count.ToString ();
}