mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
put SupernovaVolumePlaceholder into correct layer so it doesnt complain
This commit is contained in:
parent
664ee452cb
commit
68f2b3e402
@ -134,6 +134,7 @@ namespace NewHorizons.Builder.Body
|
||||
// It fucking insists on this existing and its really annoying
|
||||
var supernovaVolume = new GameObject("SupernovaVolumePlaceholder");
|
||||
supernovaVolume.transform.SetParent(starGO.transform);
|
||||
supernovaVolume.layer = LayerMask.NameToLayer("BasicEffectVolume");
|
||||
var sphere = supernovaVolume.AddComponent<SphereCollider>();
|
||||
sphere.radius = 0f;
|
||||
sphere.isTrigger = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user