ドキュメント

Unity Engine

Unity Engine

Paint(GridLayout, GameObject, Vector3Int)

Paints data into a grid within the given bounds.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

gridLayout

Grid used for layout.

brushTarget

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

position

The coordinates of the cell to paint data to.