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. |
AddTileAnimationFlags | Adds the TileAnimationFlags onto the Tile at the given position. |
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. |
GetAnimationFrame | Retrieves the current animation frame for a Tile at the given position. |
GetAnimationFrameCount | Retrieves the number of animation frames for a Tile at the given position. |
GetAnimationTime | Retrieves the current running animation time for a Tile at the given position. |
GetCellCenterLocal | Gets the logical center coordinate of a Grid cell in local space. The logical center for a cell of the Tilemap is defined by the Tile Anchor of the Tilemap. |
GetCellCenterWorld | Gets the logical center coordinate of a Grid cell in world space. The logical center for a cell of the Tilemap is defined by the Tile Anchor of the Tilemap. |
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. |
GetTileAnimationFlags | Gets the TileAnimationFlags of the Tile at the given position. |
GetTileFlags | 获取给定位置处的 Tile 的 TileFlags。 |
GetTilesBlock | Retrieves an array of Tiles with the given bounds. |
GetTilesBlockNonAlloc | Retrieves an array of Tiles with the given bounds. |
GetTilesRangeCount | Retrieves the number of Tiles within the given range, inclusive of the Cells at both the starting position and the ending positions. This method begins at the given starting position and iterates through all available Z Positions, then iterates through the X and Y positions until it reaches the ending position. |
GetTilesRangeNonAlloc | Retrieves an array of Tiles within the given range, inclusive of the Cells at both the starting position and the ending positions. This method begins at the given starting position and iterates through all available Z Positions, then iterates through the X and Y positions until it reaches the ending position. |
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. |
RemoveTileAnimationFlags | Removes the TileAnimationFlags from the Tile at the given position. |
RemoveTileFlags | Removes the TileFlags from the Tile at the given position. |
ResizeBounds | Resizes Tiles in the Tilemap to bounds defined by origin and size. |
SetAnimationFrame | Sets the current animation frame for a Tile at the given position. |
SetAnimationTime | Sets the running animation time for a Tile at the given position. |
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. |
SetTileAnimationFlags | Sets the TileAnimationFlags onto the Tile at the given position. |
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. |
loopEndedForTileAnimation | Callback when Tiles on a Tilemap have reached the end of their loop for their Tile Animation. |
tilemapPositionsChanged | 瓦片地图上的瓦片发生更改时的回调。 |
tilemapTileChanged | 瓦片地图上的瓦片发生更改时的回调。 |
enabled | 启用的 Behaviour 可更新,禁用的 Behaviour 不可更新。 |
isActiveAndEnabled | Reports whether a GameObject and its associated Behaviour is active and enabled. |
gameObject | 此组件附加到的游戏对象。始终将组件附加到游戏对象。 |
tag | 此游戏对象的标签。 |
transform | 附加到此 GameObject 的 Transform。 |
cellGap | 布局中各个单元格之间的间隙大小。 |
cellLayout | 单元格的布局。 |
cellSize | 布局中每个单元格的大小。 |
cellSwizzle | 布局的单元格重排。 |
hideFlags | 该对象应该隐藏、随场景一起保存还是由用户修改? |
name | 对象的名称。 |
BroadcastMessage | 调用此游戏对象或其任何子项中的每个 MonoBehaviour 上名为 methodName 的方法。 |
CompareTag | Checks the GameObject's tag against the defined tag. |
GetComponent | Gets a reference to a component of type T on the same GameObject as the component specified. |
GetComponentInChildren | Gets a reference to a component of type T on the same GameObject as the component specified, or any child of the GameObject. |
GetComponentInParent | Gets a reference to a component of type T on the same GameObject as the component specified, or any parent of the GameObject. |
GetComponents | Gets references to all components of type T on the same GameObject as the component specified. |
GetComponentsInChildren | Gets references to all components of type T on the same GameObject as the component specified, and any child of the GameObject. |
GetComponentsInParent | Gets references to all components of type T on the same GameObject as the component specified, and any parent of the GameObject. |
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。 |
FindAnyObjectByType | Retrieves any active loaded object of Type type. |
FindFirstObjectByType | Retrieves the first active loaded object of Type type. |
FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
Instantiate | 克隆 original 对象并返回克隆对象。 |
bool | 该对象是否存在? |
operator != | 比较两个对象是否引用不同的对象。 |
operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |