Skip to main content

StackingInstructions<T>

An abstract class in Root.Township, Alta.Inventory.

Base for stacking instructions assets that build their layout with a setup class T.

Constructors​

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

Methods​

MemberWhat it is
override StackingInstructionSetup GetSetup(Bounds bounds, Matrix4x4 localToWorld)Creates a new T and sets it up for the given bounds and transform.