TileFlags
Flags controlling behavior for the TileBase.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
[Flags]public enum TileFlags
Fields
Value | Description |
|---|---|
| InstantiateGameObjectRuntimeOnly | TileBase does not instantiate its associated GameObject in editor mode and instantiates it only during Play mode. |
| KeepGameObjectRuntimeOnly | Keeps the TileBase's associated GameObject in Play mode when replaced with another TileBase or erased |
| LockAll | All lock flags. |
| LockColor | TileBase locks any color set by brushes or the user. |
| LockTransform | TileBase locks any transform matrix set by brushes or the user. |
| None | No TileFlags are set. |