A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'Scripting' started by TovinTheCowardly, Jul 31, 2020.
You require a reference to the scorescript object as it is not static. The easy solution is to make the reference public in your CoinRotate script and populate it in the inspector or you can look for the object in the CoinRotate's start method.
Im confused a bit. Casue i thought that i did make a reference to the score script when i wrote.
Also what object do i need to populate it with?
Do you mean with the
public Text scoreText;
I am sorry im asking so many questions, im just not sure what you mean with your answer.
Thank you very much for your quick reply