Skip to main content

DebugPackage

A class in Root.Township, Alta.Loot.

A named set of prefabs and quantities that the server spawns with PackageManager.DropPackage, in front of a player or at the spawn point. Loaded from Resources/Items/Packages/, looked up by lowercase name without spaces.

Constructors​

MemberWhat it is
DebugPackage()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private List<DebugPackage.PrefabQuantity> packageBacking field for Package.

Properties​

MemberWhat it is
List<DebugPackage.PrefabQuantity> Package { get; }The prefabs in the package, each with a quantity.

Used in​

Members of other types that take, return or hold a DebugPackage: