// Update is called once per frame
 void Update()
 {
     // Display the coinAmoint in the text text and convert it to string
     text.text = coinAmount.ToString();
     text.text = numOfCoin.ToString();
 }