文档

Unity Engine

Unity Engine

BoxErase(GridLayout, GameObject, BoundsInt)

Erases data on a grid within the given bounds.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

gridLayout

Grid used for layout.

brushTarget

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

position

The bounds to erase data from.