文档

Unity Engine

Download Unity

Unity Engine

Rotate(RotationDirection, CellLayout)

Rotates all tiles on the grid brush with the given GridBrushBase.RotationDirection.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TilemapModule
public virtual void Rotate(GridBrushBase.RotationDirection direction, GridLayout.CellLayout layout)

Parameters

Direction to rotate by.

CellLayout for rotating.