Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


cachedEntityId

The cached EntityId of the TileBase.
Read time 1 minuteLast updated 6 days ago

Definition

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()})"); }}