mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix the shaders
This commit is contained in:
parent
d9f3eb6893
commit
0b2ea53201
@ -56,6 +56,7 @@ namespace NewHorizons.Builder.Props
|
||||
var rootGo = root == default ? sector.gameObject : root.go;
|
||||
|
||||
var lightning = DetailBuilder.Make(planetGO, sector, Main.Instance, AssetBundleUtilities.NHPrivateAssetBundle.LoadAsset<GameObject>("Prefab_EYE_QuantumLightningObject"), new DetailInfo());
|
||||
AssetBundleUtilities.ReplaceShaders(lightning);
|
||||
lightning.transform.position = rootGo.transform.position;
|
||||
lightning.transform.rotation = rootGo.transform.rotation;
|
||||
lightning.transform.parent = rootGo.transform.parent;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user