Beispiel #1
0
 public float GetPitch()
 {
     if (PitchRandom)
     {
         return(PitchRange.Random());
     }
     else
     {
         return(Pitch);
     }
 }
Beispiel #2
0
 public float GetVolume()
 {
     if (VolumeRandom)
     {
         return(VolumeRange.Random());
     }
     else
     {
         return(Volume);
     }
 }