mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add instrument zones and standalone quantum instruments to the inflation object list
This commit is contained in:
parent
b5538f7627
commit
c9f0689116
@ -243,6 +243,8 @@ namespace NewHorizons.Handlers
|
||||
// Quantum instrument is not a child of an instrument zone, so treat it like its own zone
|
||||
quantumInstrument.gameObject.SetActive(false);
|
||||
ArrayHelpers.Append(ref quantumCampsiteController._instrumentZones, quantumInstrument.gameObject);
|
||||
|
||||
ArrayHelpers.Append(ref cosmicInflationController._inflationObjects, quantumInstrument.transform);
|
||||
}
|
||||
}
|
||||
|
||||
@ -250,6 +252,8 @@ namespace NewHorizons.Handlers
|
||||
{
|
||||
instrumentZone.gameObject.SetActive(false);
|
||||
ArrayHelpers.Append(ref quantumCampsiteController._instrumentZones, instrumentZone.gameObject);
|
||||
|
||||
ArrayHelpers.Append(ref cosmicInflationController._inflationObjects, instrumentZone.transform);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user