Tilemap 中默认瓦片的类。
该类从 TileBase 继承,代表将放置在 Tilemap 中的默认瓦片。它实现 TileBase.GetTileData,以在瓦片地图中简单渲染 Sprite。
| color | Tile 的 Color。 | 
| flags | Tile 的 TileFlags。 | 
| gameObject | Tile 的 GameObject。 | 
| sprite | 要在 Tile 处渲染的 Sprite。 | 
| transform | Tile 的 Transform matrix。 | 
| GetTileData | 检索 Tile 的瓦片渲染数据。 | 
| GetInstanceID | Gets the instance ID of the object. | 
| ToString | 返回对象的名称。 | 
| GetTileAnimationData | 从脚本化瓦片中检索任何瓦片动画数据。 | 
| RefreshTile | 当瓦片刷新时调用此方法。 | 
| StartUp | 对正在运行的场景的第一个帧调用 StartUp。 | 
| Destroy | 移除 GameObject、组件或资源。 | 
| DestroyImmediate | 立即销毁对象 /obj/。强烈建议您改用 Destroy。 | 
| DontDestroyOnLoad | 在加载新的 Scene 时,请勿销毁 Object。 | 
| FindAnyObjectByType | Retrieves any active loaded object of Type type. | 
| FindFirstObjectByType | Retrieves the first active loaded object of Type type. | 
| FindObjectOfType | 返回第一个类型为 type 的已加载的激活对象。 | 
| FindObjectsByType | Retrieves a list of all loaded objects of Type type. | 
| FindObjectsOfType | Gets a list of all loaded objects of Type type. | 
| Instantiate | 克隆 original 对象并返回克隆对象。 | 
| CreateInstance | 创建脚本化对象的实例。 | 
| bool | 该对象是否存在? | 
| operator != | 比较两个对象是否引用不同的对象。 | 
| operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |