Hi;
I am a beginner.
I wanted to know if anyone can help me, I want to activate an object when the audio is finished.
Thank you
Start a coroutine like :
clip.Play…
StartCoroutine( WaitForEndAndActivate( clip.length ) );
static IEnumerator WaitForEndAndActivate(float dur ) {
yield return new WaitForSeconds( dur );
otherGOToActivate.SetActive(true);
}
Thank you very much, I try that