기술 자료

Unity Engine

Unity Engine

cachedEntityId

The cached EntityId of the TileBase.
읽는 시간 1분최근 업데이트: 한 달 전

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