文档

Unity Engine

Unity Engine

Move(GridLayout, GameObject, BoundsInt, BoundsInt)

Move is called when user moves the area previously selected with the selection marquee.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

gridLayout


brushTarget

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

Source bounds of the move.

Target bounds of the move.

Remarks