mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
c54ed0599c
@ -82,8 +82,10 @@ namespace NewHorizons.Handlers
|
||||
{
|
||||
sector.OnOccupantEnterSector += _ =>
|
||||
{
|
||||
foreach (var assetBundle in assetBundles)
|
||||
StreamingManager.LoadStreamingAssets(assetBundle);
|
||||
// If both are already in then it already loaded
|
||||
if (sector.ContainsOccupant(DynamicOccupant.Player) && sector.ContainsOccupant(DynamicOccupant.Probe)) return;
|
||||
|
||||
foreach (var assetBundle in assetBundles) StreamingManager.LoadStreamingAssets(assetBundle);
|
||||
};
|
||||
/*
|
||||
sector.OnOccupantExitSector += _ =>
|
||||
|
||||
@ -1016,6 +1016,10 @@
|
||||
"parentPath": {
|
||||
"type": "string",
|
||||
"description": "The path (not including the root planet object) of the parent of this game object. Optional (will default to the root sector)."
|
||||
},
|
||||
"keepLoaded": {
|
||||
"type": "boolean",
|
||||
"description": "Should this detail stay loaded even if you're outside the sector (good for very large props)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user