TileBase - Tilemap에 들어가는 오브젝트 public Tilemap _tilemap; public TileBase _tile; void Start() { _tilemap.SetTile(new Vector3Int(0, 0, 0), _tile); } void Update() { List blocked = new List(); foreach (Vector3Int pos in _tilemap.cellBounds.allPositionsWithin) { TileBase tile = _tilemap.GetTile(pos); if(tile != null) blocked.Add(pos); } }