Hi there,
I’m up to 3.2.9 - Delete all the lines that contain m_audioSource
from FeedbackFlashHUD.cs.
I have attached a screenshot, pointing out 1. and 2. questions.
-
Here is a line I have deleted, which contained m_audioSource, and there is a yellow line on the left. Is that signifying an error? Have I deleted that line properly?
-
Here, there is only one line ( m_audioSource.PlayOneShot(warningAudioClip) containing m_audioSource. Is it ONLY that one line I delete, or do I delete the lines above and below?
If i change it from:
if(!warningSoundPlayed && vignetteCanvasGroup.alpha >= 0.5f){
m_audioSource.PlayOneShot(warningAudioClip);
warningSoundPlayed = true;
to:
if(!warningSoundPlayed && vignetteCanvasGroup.alpha >= 0.5f){
warningSoundPlayed = true;
is that correct? In the tutorial it only says “Delete the LINES with m_audioSource in them”