![]() |
Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
|
Public Member Functions | |
| SortingArea (SortingArea lastArea) | |
| SortingArea (SortingArea area1, SortingArea area2) | |
| SortingArea (float _z, int _order) | |
Public Attributes | |
| float | z |
| int | order |
| string | layer |
| Color | color |
| int | scale = 100 |
Protected Member Functions | |
| Color | GetRandomColor () |
Protected Attributes | |
| string | orderAsString |
A data container for individual regions within a SortingMap.
| AC.SortingArea.SortingArea | ( | SortingArea | lastArea | ) |
A Constructor that creates a new SortingArea based on the last one currently on the SortingMap.
| AC.SortingArea.SortingArea | ( | SortingArea | area1, |
| SortingArea | area2 ) |
A Constructor that creates a new SortingArea by interpolating between two others.
| AC.SortingArea.SortingArea | ( | float | _z, |
| int | _order ) |
The default Constructor.
| Color AC.SortingArea.color |
The colour of the region, as used in the Scene window
| string AC.SortingArea.layer |
The sorting layer that SpriteRenderers that use FollowSortingMap will have when positioned within this region
| int AC.SortingArea.order |
The order in layer that SpriteRenderers that use FollowSortingMap will have when positioned within this region
| int AC.SortingArea.scale = 100 |
The factor by which characters that use FollowSortingMap will be scaled by when positioned at the bottom boundary of this region
| float AC.SortingArea.z |
The lower boundary position along the Z axis