mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
I don't feel like uploading my visual studio
This commit is contained in:
parent
05d0dfc185
commit
3c1abb582e
@ -34,7 +34,7 @@ namespace NewHorizons.Builder.Props.EchoesOfTheEye
|
||||
var dreamArrivalPoint = _prefab.GetComponent<DreamArrivalPoint>();
|
||||
dreamArrivalPoint._location = DreamArrivalPoint.Location.Undefined;
|
||||
dreamArrivalPoint._sector = null;
|
||||
dreamArrivalPoint._entrywayVolumes = [];
|
||||
dreamArrivalPoint._entrywayVolumes = new OWTriggerVolume[0];
|
||||
dreamArrivalPoint._raftSpawn = null;
|
||||
dreamArrivalPoint._connectedDreamCampfire = null;
|
||||
dreamArrivalPoint._campfire._sector = null;
|
||||
|
||||
@ -33,7 +33,7 @@ namespace NewHorizons.Builder.Props.EchoesOfTheEye
|
||||
var campfire = _prefab.GetComponentInChildren<DreamCampfire>();
|
||||
campfire._dreamArrivalLocation = DreamArrivalPoint.Location.Undefined;
|
||||
campfire._sector = null;
|
||||
campfire._entrywayVolumes = [];
|
||||
campfire._entrywayVolumes = new OWTriggerVolume[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,10 +11,12 @@ namespace NewHorizons.Components.EOTE
|
||||
{
|
||||
private bool initialized;
|
||||
private bool active;
|
||||
private List<GameObject> toggledObjects = [];
|
||||
private List<GameObject> toggledObjects = new();
|
||||
|
||||
public void Initialize()
|
||||
{
|
||||
if (initialized) return;
|
||||
|
||||
foreach (Transform child in transform)
|
||||
{
|
||||
if (child.gameObject.name == "FieldDetector") continue;
|
||||
|
||||
@ -44,7 +44,7 @@ namespace NewHorizons.Handlers
|
||||
var simRootObj = MigrateCopy(oldDWC._primarySimulationRoot.gameObject, managerObj);
|
||||
|
||||
dwc._primarySimulationRoot = simRootObj.transform;
|
||||
dwc._simulationRoots = [simRootObj.transform];
|
||||
dwc._simulationRoots = new Transform[] { simRootObj.transform };
|
||||
dwc._simulationCamera = simRootObj.FindChild("Camera_Simulation").GetComponent<SimulationCamera>();
|
||||
dwc._simulationSphere = simRootObj.FindChild("SimulationSphere").GetComponent<OWRenderer>();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user