mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
parent
c03e3d7dbc
commit
1e8e307112
@ -198,7 +198,8 @@ namespace NewHorizons.Builder.Props
|
|||||||
_customCurve = GameObject.Find("Moon_Body/Sector_THM/Characters_THM/Villager_HEA_Esker/Signal_Whistling").GetComponent<AudioSource>().GetCustomCurve(AudioSourceCurveType.CustomRolloff);
|
_customCurve = GameObject.Find("Moon_Body/Sector_THM/Characters_THM/Villager_HEA_Esker/Signal_Whistling").GetComponent<AudioSource>().GetCustomCurve(AudioSourceCurveType.CustomRolloff);
|
||||||
|
|
||||||
source.SetCustomCurve(AudioSourceCurveType.CustomRolloff, _customCurve);
|
source.SetCustomCurve(AudioSourceCurveType.CustomRolloff, _customCurve);
|
||||||
source.playOnAwake = false;
|
// If it can be heard regularly then we play it immediately
|
||||||
|
source.playOnAwake = !info.OnlyAudibleToScope;
|
||||||
source.spatialBlend = 1f;
|
source.spatialBlend = 1f;
|
||||||
source.volume = 0.5f;
|
source.volume = 0.5f;
|
||||||
source.dopplerLevel = 0;
|
source.dopplerLevel = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user