public void TakeCoin() { _coinCount++; CoinTaked?.Invoke(_coinCount); }
public void ResetPlayer() { _coinCount = 0; CoinTaked?.Invoke(_coinCount); transform.position = new Vector3(0, 1, 0); }