//Called when a coin is collected by the player public void CoinCollected(Vector2 contactPoint) { collectedCoins++; guiManager.UpdateCoins(collectedCoins); levelGenerator.AddCoinParticle(contactPoint); missionManager.CoinEvent(collectedCoins); }