// Update is called once per frame public void DamageVoiceSelector(int damage) { if (damage >= 4000) { actor.SpeakRequest(damageVoice[0]); } else if (damage < 4000) { actor.SpeakRequest(damageVoice[1]); } }
public void PlayGaya() { gaya = selector.SelectVoiceList(PL1.getLP(), PL2.getLP()); AudioClip speak = gaya[Random.Range(0, gaya.Count)]; actor.SpeakRequest(speak); VoiceLength = speak.length; }
public void Diff8000() { actor.SpeakRequest(impressionVoice[0]); }