StackingInstructions<T>
An abstract class in Root.Township, Alta.Inventory.
Base for stacking instructions assets that build their layout with a setup class T.
- Listed in Items, inventory and logic
- Inherits or implements
StackingInstructions - Derived types
InvertedTriangleStackingInstruction,JengaStackingInstruction,SphereInBoxStackingInstruction
Constructors
| Member | What it is |
|---|---|
protected StackingInstructions() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Methods
| Member | What it is |
|---|---|
override StackingInstructionSetup GetSetup(Bounds bounds, Matrix4x4 localToWorld) | Creates a new T and sets it up for the given bounds and transform. |