cachedEntityId
The cached EntityId of the TileBase.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
public EntityId cachedEntityId { get; }
Examples
using UnityEngine;using UnityEngine.Tilemaps;public static class TilemapExample{ public static void TileCachedEntityIdExample(TileBase tile) { Debug.Log($"The cached EntityId for the Tile is equal to GetEntityId: ({(tile.cachedEntityId == tile.GetEntityId()).ToString()})"); }}