private void Start() { coinPanel = GameObject.Find("CoinPanel").GetComponent <CoinPanel>(); totalCoin++; }
void Awake() { instance = this; }