mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
scatter builder keep loaded
This commit is contained in:
parent
7a67a1f980
commit
da211eff75
@ -96,6 +96,7 @@ namespace NewHorizons.Builder.Props
|
||||
{
|
||||
position = point.normalized * height,
|
||||
scale = propInfo.scale,
|
||||
keepLoaded = propInfo.keepLoaded,
|
||||
alignToNormal = true
|
||||
};
|
||||
var prop = DetailBuilder.Make(go, sector, prefab, detailInfo);
|
||||
|
||||
5
NewHorizons/External/Modules/PropModule.cs
vendored
5
NewHorizons/External/Modules/PropModule.cs
vendored
@ -139,6 +139,11 @@ namespace NewHorizons.External.Modules
|
||||
/// The highest height that these objects will be placed at (only relevant if there's a heightmap)
|
||||
/// </summary>
|
||||
public float? maxHeight;
|
||||
|
||||
/// <summary>
|
||||
/// Should this detail stay loaded even if you're outside the sector (good for very large props)
|
||||
/// </summary>
|
||||
public bool keepLoaded;
|
||||
}
|
||||
|
||||
[JsonObject]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user