StackingInstructionSetup<T>
An abstract class in Root.Township, Alta.Inventory.
Base for a stack layout built from a specific StackingInstructions type. Subclasses fill Positions and MaxQuantity.
- Listed in Items, inventory and logic
- Inherits or implements
StackingInstructionSetup - Derived types
InvertedTriangleStackingInstructionSetup,JengaStackingInstructionSetup,SphereInBoxStackingInstructionSetup
Constructors
| Member | What it is |
|---|---|
protected StackingInstructionSetup() | Creates a StackingInstructionSetup with default values. |
Methods
| Member | What it is |
|---|---|
override void Setup(Bounds bounds, Matrix4x4 localToWorld, StackingInstructions instructions) | Public overload casts the instructions to T, calls the typed Setup, then works out world positions. |
protected abstract void Setup(Bounds bounds, T instructions) | Public overload casts the instructions to T, calls the typed Setup, then works out world positions. |