ドキュメント

Unity Engine

Unity Engine

cachedEntityId

The cached EntityId of the TileBase.
読み終わるまでの所要時間 1 分最終更新 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()})"); }}