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.
- Listed in World generation
- Inherits or implements
ScriptableObject - Derived types
DebugPackage.Create - Nested types
Create,PrefabQuantity
Constructors
| Member | What it is |
|---|---|
DebugPackage() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private List<DebugPackage.PrefabQuantity> package | Backing field for Package. |
Properties
| Member | What 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: