Merge branch 'master' of https://git.steelants.cz/GJP/GlobalGameJam-2021
This commit is contained in:
commit
3eb3e59f5b
@ -18,7 +18,6 @@ public class AudioManager : MonoBehaviour
|
|||||||
c.source.volume = c.volume;
|
c.source.volume = c.volume;
|
||||||
c.source.pitch = c.pitch;
|
c.source.pitch = c.pitch;
|
||||||
c.source.loop = c.loop;
|
c.source.loop = c.loop;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ public class AudioSound
|
|||||||
|
|
||||||
[Range(0f, 1f)]
|
[Range(0f, 1f)]
|
||||||
public float volume;
|
public float volume;
|
||||||
[Range(0.1f, 3f)]
|
[Range(0f, 3f)]
|
||||||
public float pitch;
|
public float pitch = 0f;
|
||||||
|
|
||||||
public bool loop = false;
|
public bool loop = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user