Version: 2018.4
public void RegisterUndo (GameObject brushTarget, Tool tool);

パラメーター

brushTargetTarget of the GridBrushBase.Tool operation. By default the currently selected GameObject.
toolCurrent GridBrushBase.Tool selected.

説明

Callback for registering an Undo action before the GridBrushBase does the current GridBrushBase.Tool action.

Implement this for any special Undo behaviours when a brush is used.