mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
add ProxyShadowCaster to groundsize
This commit is contained in:
parent
b50cc53a4d
commit
7846ae1161
@ -30,6 +30,11 @@ namespace NewHorizons.Builder.Body
|
||||
{
|
||||
groundGO.transform.localScale *= 2; // Multiply by 2 to match top layer
|
||||
}
|
||||
|
||||
var superGroup = planetGO.GetComponent<ProxyShadowCasterSuperGroup>();
|
||||
// idk if we need to set _superGroup manually since it does that in Awake, but it's done everywhere else so wtv
|
||||
if (superGroup != null) groundGO.AddComponent<ProxyShadowCaster>()._superGroup = superGroup;
|
||||
|
||||
groundGO.SetActive(true);
|
||||
|
||||
return groundGO;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user