mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Forgor
This commit is contained in:
parent
69c2415687
commit
382a61e0f3
@ -116,6 +116,7 @@ namespace NewHorizons.Builder.Body
|
|||||||
proxyStellarRemnant.SetActive(false);
|
proxyStellarRemnant.SetActive(false);
|
||||||
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
||||||
srp.SetStellarRemnantController(stellarRemnantController);
|
srp.SetStellarRemnantController(stellarRemnantController);
|
||||||
|
srp._realObjectDiameter = wdSurfaceSize;
|
||||||
proxyController._stellarRemnant = srp;
|
proxyController._stellarRemnant = srp;
|
||||||
proxyController._star = StarBuilder.MakeStarProxy(go, proxyStellarRemnant, wdModule, mod, true);
|
proxyController._star = StarBuilder.MakeStarProxy(go, proxyStellarRemnant, wdModule, mod, true);
|
||||||
proxyStellarRemnant.SetActive(true);
|
proxyStellarRemnant.SetActive(true);
|
||||||
@ -146,6 +147,7 @@ namespace NewHorizons.Builder.Body
|
|||||||
proxyStellarRemnant.SetActive(false);
|
proxyStellarRemnant.SetActive(false);
|
||||||
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
||||||
srp.SetStellarRemnantController(stellarRemnantController);
|
srp.SetStellarRemnantController(stellarRemnantController);
|
||||||
|
srp._realObjectDiameter = nsSurfaceSize;
|
||||||
proxyController._stellarRemnant = srp;
|
proxyController._stellarRemnant = srp;
|
||||||
proxyController._star = StarBuilder.MakeStarProxy(go, proxyStellarRemnant, nsModule, mod, true);
|
proxyController._star = StarBuilder.MakeStarProxy(go, proxyStellarRemnant, nsModule, mod, true);
|
||||||
proxyStellarRemnant.SetActive(true);
|
proxyStellarRemnant.SetActive(true);
|
||||||
@ -176,6 +178,7 @@ namespace NewHorizons.Builder.Body
|
|||||||
proxyStellarRemnant.SetActive(false);
|
proxyStellarRemnant.SetActive(false);
|
||||||
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
||||||
srp.SetStellarRemnantController(stellarRemnantController);
|
srp.SetStellarRemnantController(stellarRemnantController);
|
||||||
|
srp._realObjectDiameter = psSurfaceSize;
|
||||||
proxyController._stellarRemnant = srp;
|
proxyController._stellarRemnant = srp;
|
||||||
proxyController._star = StarBuilder.MakeStarProxy(go, proxyStellarRemnant, psModule, mod, true);
|
proxyController._star = StarBuilder.MakeStarProxy(go, proxyStellarRemnant, psModule, mod, true);
|
||||||
proxyStellarRemnant.SetActive(true);
|
proxyStellarRemnant.SetActive(true);
|
||||||
@ -201,6 +204,7 @@ namespace NewHorizons.Builder.Body
|
|||||||
proxyStellarRemnant.SetActive(false);
|
proxyStellarRemnant.SetActive(false);
|
||||||
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
StellarRemnantProxy srp = proxyStellarRemnant.AddComponent<StellarRemnantProxy>();
|
||||||
srp.SetStellarRemnantController(stellarRemnantController);
|
srp.SetStellarRemnantController(stellarRemnantController);
|
||||||
|
srp._realObjectDiameter = bhSurfaceSize;
|
||||||
proxyController._stellarRemnant = srp;
|
proxyController._stellarRemnant = srp;
|
||||||
ProxyBuilder.MakeBlackHole(proxyStellarRemnant, Vector3.zero, bhSurfaceSize);
|
ProxyBuilder.MakeBlackHole(proxyStellarRemnant, Vector3.zero, bhSurfaceSize);
|
||||||
proxyStellarRemnant.SetActive(true);
|
proxyStellarRemnant.SetActive(true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user