This commit is contained in:
haitem 2021-01-31 12:07:30 +01:00
commit be8d9e0713
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ public class AudioManager : MonoBehaviour
// Start is called before the first frame update
public void Awake()
{
DontDestroyGameobjectOnLoad(gameObject);
DontDestroyOnLoad(gameObject);
foreach (AudioSound c in clips)
{
c.source = gameObject.AddComponent<AudioSource>();