animationFrameRate | The frame rate for all Tile animations in the Tilemap. |
cellBounds | 以单元格大小返回 Tilemap 的边界。 |
color | The color of the Tilemap layer. |
editorPreviewOrigin | The origin of the Tilemap in cell position inclusive of editor preview Tiles. |
editorPreviewSize | The size of the Tilemap in cells inclusive of editor preview Tiles. |
layoutGrid | Gets the Grid associated with this Tilemap. |
localBounds | 以本地空间大小返回 Tilemap 的边界。 |
orientation | Orientation of the Tiles in the Tilemap. |
orientationMatrix | Orientation Matrix of the orientation of the Tiles in the Tilemap. |
origin | Tilemap 的原点(以单元格位置为单位)。 |
size | Tilemap 的大小(以单元格为单位)。 |
tileAnchor | Gets the anchor point of Tiles in the Tilemap. |
AddTileFlags | 将 TileFlags 添加到给定位置处的 Tile。 |
BoxFill | Does a box fill with the given Tile on the Tilemap. Starts from given coordinates and fills the limits from start to end (inclusive). |
ClearAllEditorPreviewTiles | Clears all editor preview Tiles that are placed in the Tilemap. |
ClearAllTiles | Clears all Tiles that are placed in the Tilemap. |
CompressBounds | Compresses the origin and size of the Tilemap to bounds where Tiles exist. |
ContainsTile | Returns true if the Tilemap contains the given Tile. Returns false if not. |
DeleteCells | Removes cells from within the Tilemap's bounds. |
EditorPreviewBoxFill | Does an editor preview of a box fill with the given Tile on the Tilemap. Starts from given coordinates and fills the limits from start to end (inclusive). |
EditorPreviewFloodFill | Does an editor preview of a flood fill with the given Tile to place. on the Tilemap starting from the given coordinates. |
FloodFill | Does a flood fill with the given Tile to place. on the Tilemap starting from the given coordinates. |
GetCellCenterLocal | Get the logical center coordinate of a Grid cell in local space. |
GetCellCenterWorld | Get the logical center coordinate of a Grid cell in world space. |
GetColliderType | Gets the Collider type of a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetColor | Gets the Color of a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetEditorPreviewColor | Gets the Color of an editor preview Tile given the XYZ coordinates of a cell in the Tilemap. |
GetEditorPreviewSprite | Gets the Sprite used in an editor preview Tile given the XYZ coordinates of a cell in the Tilemap. |
GetEditorPreviewTile | Gets the editor preview Tile at the given XYZ coordinates of a cell in the Tilemap. |
GetEditorPreviewTileFlags | 获取给定位置处的编辑器预览 Tile 的 TileFlags。 |
GetEditorPreviewTransformMatrix | Gets the transform matrix of an editor preview Tile given the XYZ coordinates of a cell in the Tilemap. |
GetInstantiatedObject | Gets the GameObject instantiated by a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetObjectToInstantiate | Gets the GameObject which will be instantiated by a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetSprite | Gets the Sprite used in a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetTile | Gets the Tile at the given XYZ coordinates of a cell in the Tilemap. |
GetTileFlags | 获取给定位置处的 Tile 的 TileFlags。 |
GetTilesBlock | Retrieves an array of Tiles with the given bounds. |
GetTransformMatrix | Gets the transform matrix of a Tile given the XYZ coordinates of a cell in the Tilemap. |
GetUsedSpritesCount | Gets the total number of different Sprites used in the Tilemap. |
GetUsedSpritesNonAlloc | Fills the given array with the total number of different Sprites used in the Tilemap and returns the number of Sprites filled. |
GetUsedTilesCount | Gets the total number of different Tiles used in the Tilemap. |
GetUsedTilesNonAlloc | Fills the given array with the total number of different Tiles used in the Tilemap and returns the number of Tiles filled. |
HasEditorPreviewTile | Returns whether there is an editor preview Tile at the position. |
HasTile | Returns whether there is a Tile at the position. |
InsertCells | Inserts cells into the Tilemap. |
RefreshAllTiles | Refreshes all Tiles in the Tilemap. The Tilemap will retrieve the rendering data, animation data and other data for all tiles and update all relevant components. |
RefreshTile | Refreshes a Tile at the given XYZ coordinates of a cell in the Tilemap. |
RemoveTileFlags | 删除给定位置处的 Tile 上的 TileFlags。 |
ResizeBounds | Resizes Tiles in the Tilemap to bounds defined by origin and size. |
SetColliderType | Sets the Collider type of a Tile given the XYZ coordinates of a cell in the Tilemap. |
SetColor | Sets the color of a Tile given the XYZ coordinates of a cell in the Tilemap. |
SetEditorPreviewColor | Sets the color of an editor preview Tile given the XYZ coordinates of a cell in the Tilemap. |
SetEditorPreviewTile | Sets an editor preview Tile given the XYZ coordinates of a cell in the Tilemap. |
SetEditorPreviewTransformMatrix | Sets the transform matrix of an editor preview Tile given the XYZ coordinates of a cell in the Tilemap. |
SetTile | Sets a Tile at the given XYZ coordinates of a cell in the Tilemap. |
SetTileFlags | 将 TileFlags 设置到给定位置处的 Tile 上。 |
SetTiles | Sets an array of Tiles at the given XYZ coordinates of the corresponding cells in the Tilemap. |
SetTilesBlock | Fills bounds with array of Tiles. |
SetTransformMatrix | Sets the transform matrix of a Tile given the XYZ coordinates of a cell in the Tilemap. |
SwapTile | Swaps all existing Tiles of changeTile to newTile and refreshes all the swapped Tiles. |
tilemapTileChanged | 瓦片地图上的瓦片发生更改时的回调。 |
enabled | 启用的 Behaviour 可更新,禁用的 Behaviour 不可更新。 |
isActiveAndEnabled | 是否已激活并启用 Behaviour? |
gameObject | 此组件附加到的游戏对象。始终将组件附加到游戏对象。 |
tag | 此游戏对象的标签。 |
transform | 附加到此 GameObject 的 Transform。 |
cellGap | 布局中各个单元格之间的间隙大小。 |
cellLayout | 单元格的布局。 |
cellSize | 布局中每个单元格的大小。 |
cellSwizzle | 布局的单元格重排。 |
hideFlags | 该对象应该隐藏、随场景一起保存还是由用户修改? |
name | 对象的名称。 |
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 | 获取指定类型的组件(如果存在)。 |
CellToLocal | 将单元格位置转换为本地空间位置。 |
CellToLocalInterpolated | 将插值单元格位置(浮点数)转换为本地空间位置。 |
CellToWorld | 将单元格位置转换为世界空间位置。 |
GetBoundsLocal | 返回该位置的单元格的本地边界。 |
GetLayoutCellCenter | 获取 Grid 的设置布局的单元格默认中心坐标。 |
LocalToCell | 将本地位置转换为单元格位置。 |
LocalToCellInterpolated | 将本地位置转换为单元格位置。 |
LocalToWorld | 将本地位置转换为世界位置。 |
WorldToCell | 将世界位置转换为单元格位置。 |
WorldToLocal | 将世界位置转换为本地位置。 |
GetInstanceID | Gets the instance ID of the object. |
ToString | 返回对象的名称。 |
Destroy | 移除 GameObject、组件或资源。 |
DestroyImmediate | 立即销毁对象 /obj/。强烈建议您改用 Destroy。 |
DontDestroyOnLoad | 在加载新的 Scene 时,请勿销毁 Object。 |
FindObjectOfType | 返回第一个类型为 type 的已加载的激活对象。 |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | 克隆 original 对象并返回克隆对象。 |
bool | 该对象是否存在? |
operator != | 比较两个对象是否引用不同的对象。 |
operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |