文档

Unity Engine

Unity Engine

BoxFill(GridLayout, GameObject, BoundsInt)

Box fills tiles and GameObjects into given bounds within the selected layers.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TilemapModule
public virtual void BoxFill(GridLayout gridLayout, GameObject brushTarget, BoundsInt position)

Parameters

gridLayout

Grid used for layout.

brushTarget

Target of box fill operation. By default the currently selected GameObject.

position

The bounds to box fill data to.