Design Patterns Code for Unity Games
Parent: Index
Allows us to arrange game objects outside of Unity’s UI canvas.
Location
behavior to an object to override the default grid position for that object.Arranges child game objects in a horizontal flow. Does not take object size into account.
Enum for standard layout alignments.
Base class for all 2D layouts.
Interface to find location of an object.
Attach to a child object to override their default layout location.
Abstract base class for all layout classes.
Allows us to organize game objects outside of Canvas.
Sets the Sprite render sort order of the child objects based on their order in the parent. Useful for ordered stacks of things, like cards.
Arranges child game objects in a vertical flow. Does not take object size into account.