Ejemplo n.º 1
0
    public void CollectOrb(PlayerScoring playerScoring)
    {
        int pointValue = playerScoring.AddOrb();

        OrbSFXManager.PlayOrbPickUpSound();
        Destroy(gameObject);
        OrbManager.Place3DText(transform.position, pointValue);
    }