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

パラメーター

brushTarget Target of the GridBrushBase.Tool operation. By default the currently selected GameObject.
tool Current 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.