Documentation

Unity Engine

Download Unity

Unity Engine

Pick(GridLayout, GameObject, BoundsInt, Vector3Int)

Picks data from a grid given the coordinates of the cells.
Read time 1 minuteLast updated a month ago

Definition

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

Parameters

gridLayout

Grid used for layout.

brushTarget

Target of the paint operation. By default the currently selected GameObject.

position

The coordinates of the cells to paint data from.

Pivot of the picking brush.