ドキュメント

Unity Engine

Unity Engine

Pick(GridLayout, GameObject, BoundsInt, Vector3Int)

Picks data from a grid given the coordinates of the cells.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.