This commit is contained in:
GamerClassN7 2021-01-31 12:14:00 +01:00
parent 2ba98f7052
commit 0ec824e46f
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;