示例#1
0
 public void gainOrb()
 {
     audioManager.Play("Orb");
     audioManager.Find("Orb").source.pitch += 0.1f;
     orbCount++;
     if (orbCount >= portal.orbsRequired)
     {
         portal.ActivatePortal();
     }
 }