此类是瓦片地图渲染器组件的脚本接口。
| chunkCullingBounds | 用于 Tilemap 块剔除的边界。 |
| chunkSize | TilemapRenderer 创建的每个块的大小(以瓦片数为单位)。 |
| detectChunkCullingBounds | 返回 TilemapRenderer 是否自动检测用于扩展块剔除的边界。 |
| maskInteraction | 指定 Tilemap 如何与遮罩交互。 |
| maxChunkCount | TilemapRenderer 缓存在内存中的最大块数。 |
| maxFrameAge | TilemapRenderer 将未使用的块保留在内存中的最大帧数。 |
| mode | TileMapRenderer 用于对瓦片进行批处理以便进行渲染的模式。 |
| sortOrder | TilemapRenderer 的生效排序顺序。 |
| gameObject | 此组件附加到的游戏对象。始终将组件附加到游戏对象。 |
| tag | 此游戏对象的标签。 |
| transform | 附加到此 GameObject 的 Transform。 |
| BroadcastMessage | 调用此游戏对象或其任何子项中的每个 MonoBehaviour 上名为 methodName 的方法。 |
| CompareTag | 此游戏对象是否使用 tag 进行了标记? |
| GetComponent | Returns the component of Type type if the GameObject has one attached, null if it doesn't. Will also return disabled components. |
| GetComponentInChildren | 使用深度首次搜索返回 GameObject 或其任何子项中类型为 type 的组件。 |
| GetComponentInParent | 返回 GameObject 或其任何父项中类型为 type 的组件。 |
| GetComponents | 返回 GameObject 中类型为 type 的所有组件。 |
| GetComponentsInChildren | Returns all components of Type type in the GameObject or any of its children. Works recursively. |
| GetComponentsInParent | 返回 GameObject 或其任何父项中类型为 type 的所有组件。 |
| SendMessage | 调用此游戏对象中的每个 MonoBehaviour 上名为 methodName 的方法。 |
| SendMessageUpwards | 调用此游戏对象中的每个 MonoBehaviour 上或此行为的每个父级上名为 methodName 的方法。 |
| TryGetComponent | 获取指定类型的组件(如果存在)。 |