Beispiel #1
0
 private void OnTriggerEnter(Collider crystal)
 {
     if (crystal.gameObject.tag == "Player")
     {
         ProceduralGenerator.AddDiamondBackToQueue(gameObject);
         GameManager.collectedDiamonds.Value += 1;
         GameManager.collectParticleEffect.Play();
     }
 }