// Update is called once per frame
 void FixedUpdate()
 {
     if (Coin != null)
     {
         Coin.GetComponent <Text>().text = ("Coin " + gm.coins);
     }
     if (Piece != null)
     {
         Piece.GetComponent <Text>().text = ("Pieces " + gm.pieces);
     }
     if (Hint != null)
     {
         Hint.GetComponent <Text>().text = ("Hint " + gm.hints);
     }
 }