Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Pick(GridLayout, GameObject, BoundsInt, Vector3Int)

Picks data from a grid given the coordinates of the cells.
Read time 1 minuteLast updated 4 days 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.