private void OnCoinCollected(CoinObjectLogic coinLogic) { //Debug.Log(coinLogic.gameObject.name); var coinsCollected = coinLogic.OnCollected(_sceneController.LevelCoins); _sceneController.OnCoinCollected(coinsCollected); }