GridPalette
GridPalette stores settings for Palette assets when shown in the Palette window.
Read time 4 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor
- Inherits from: ScriptableObject
[HelpURL("tilemaps/tile-palettes/new-tile-palette-reference")]public class GridPalette : ScriptableObject
Fields
Value | Description |
|---|---|
| cellSizing | Determines the sizing of cells for a Palette. |
Properties
Property | Description |
|---|---|
| transparencySortAxis | Determines the sorting axis if the Transparency Sort Mode is set to Custom Axis. |
| transparencySortMode | Determines the Transparency Sorting Mode of Renderers in the Palette. |
Enums
Enum | Description |
|---|---|
| GridPalette.CellSizing | Controls the sizing of cells for a Palette. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |