mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
parented signals to the nodes they come from
This commit is contained in:
parent
c4f914ba36
commit
5aa0940a13
@ -76,6 +76,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
signalGO.GetComponent<AudioSignal>()._identificationDistance = 0;
|
signalGO.GetComponent<AudioSignal>()._identificationDistance = 0;
|
||||||
signalGO.GetComponent<AudioSignal>()._sourceRadius = 1;
|
signalGO.GetComponent<AudioSignal>()._sourceRadius = 1;
|
||||||
signalGO.transform.position = nodeWarp.transform.position;
|
signalGO.transform.position = nodeWarp.transform.position;
|
||||||
|
signalGO.transform.parent = nodeWarp.transform;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user