usingUnityEngine;usingSystem.Collections;usingUnityEngine.UI;publicclassInterfaceStone:MonoBehaviour{publicTexttextThrown;publicTexttextDestroyed;// Use this for initializationvoidStart(){}// Update is called once per framevoidUpdate(){textThrown.text="Number of Stones :"+GameManager.currentNumberStonesThrown;textDestroyed.text="Destroyed :"+GameManager.currentNumberDestroyedStones;}}
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.