void Start() { SetStep(0f); timer = startDelayTime; timerForEnd = particleDuration; if (particleRoot != null) { isParticle = true; clips = particleSounds.GetComponent <AudioClipList>().audioClips; } if (soundsToPlay != null) { isSound = true; clips = soundsToPlay.GetComponent <AudioClipList>().audioClips; } }
void Start() { clips = audioInfo.GetComponent <AudioClipList>().audioClips; }