Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BoxFill(GridLayout, GameObject, BoundsInt)

Box fills tiles and GameObjects into given bounds within the selected layers.
Read time 1 minuteLast updated 6 days ago

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.