Archived
Audio
This commit is contained in:
1 parent
4125ab62bb
commit
31f549c3d5
4 files changed
+2
-74
No files matched your search
@@ -12,7 +12,7 @@ public class Audiomanager : MonoBehaviour
|
||||
{
|
||||
foreach (AudioSound c in clips)
|
||||
{
|
||||
c.source = gameObject.AddComponent<AudionSource>();
|
||||
c.source = gameObject.AddComponent<AudioSource>();
|
||||
c.source.clip = c.clip;
|
||||
c.source.volume = c.volume;
|
||||
c.source.pitch = c.pitch;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.Audio;
|
||||
|
||||
[System.Serializable]
|
||||
public class AudioSound
|
||||
{
|
||||
public string name;
|
||||
|
||||
Reference in new issue
Block a user