In my game, the audio listener of an asset is causing a problem.It is included in the Don’t Destroy on load objects. How do I destroy it in the scenes where it is not required?
Just destroy the gameobject normally.
Destroy(gameobject);
In my game, the audio listener of an asset is causing a problem.It is included in the Don’t Destroy on load objects. How do I destroy it in the scenes where it is not required?
Just destroy the gameobject normally.
Destroy(gameobject);