Merge branch 'master' of https://git.steelants.cz/GJP/GlobalGameJam-2021
This commit is contained in:
commit
be8d9e0713
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user