示例#1
0
 public Key(GameObject gameobject, PianoSoundEngine soundEngine, bool isActive)
 {
     this.gameobject  = gameobject;
     this.isActive    = isActive;
     this.soundEngine = soundEngine;
 }
 public void FadeOutNote(string name)
 {
     StartCoroutine(PianoSoundEngine.FadeOut(GetAudioSource(name), 1f));
 }