Hi Guys! I’ve got a very frustrating problem… I’m making a trigger for sound effect.
Script is simple,
void OnTriggerEnter()
{
audio.Play();
}
But it don’t works, unity reads that like “void start” because audio is playing on start of the level and actions beetwen the “{, }” are on the start of the level. Is it bug? Help me! ![]()
Sry for my english.
PS: audio is set “play on awake = false”