This commit is contained in:
haitem 2021-01-31 12:17:36 +01:00
commit 3eb3e59f5b
2 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,6 @@ public class AudioManager : MonoBehaviour
c.source.volume = c.volume;
c.source.pitch = c.pitch;
c.source.loop = c.loop;
}
}

View File

@ -9,8 +9,8 @@ public class AudioSound
[Range(0f, 1f)]
public float volume;
[Range(0.1f, 3f)]
public float pitch;
[Range(0f, 3f)]
public float pitch = 0f;
public bool loop = false;