Hi guys,i need a little help.I have slow motion effect in my game,when i press specific button slow motion is going…Anyway now about thing,i have wind effect in my game,It works like this: when i fall from great height i can hear wind sound in “my ears”…Well the thing is when im falling from great height,and activate slow motion,i can still hear wind sound without any effects,LIKE NORMALLY.Well i need to stop that sound when im in slow motion and when i get out from slow motion i want that sound plays again…I hope you understand me,please help me.
To stop a sound on another game object:
GameObject.Find("ObjectName").audio.Stop();
To stop a sound via a variable contained in a script on another object:
GameObject.Find("ObjectName").GetComponent<ScriptName>.AudioSourceVariableName.Stop();