mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update SignalBuilder.cs
This commit is contained in:
parent
d4c6a5e315
commit
9617b80420
@ -121,6 +121,7 @@ namespace NewHorizons.Builder.Props
|
||||
try
|
||||
{
|
||||
clip = assets.GetAudio(info.AudioFilePath);
|
||||
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
@ -145,7 +146,8 @@ namespace NewHorizons.Builder.Props
|
||||
audioSignal._sourceRadius = info.SourceRadius;
|
||||
audioSignal._onlyAudibleToScope = info.OnlyAudibleToScope;
|
||||
audioSignal._identificationDistance = info.IdentificationRadius;
|
||||
|
||||
audioSignal._canBePickedUpByScope = true;
|
||||
|
||||
source.clip = clip;
|
||||
source.loop = true;
|
||||
source.minDistance = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user