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

Parámetros

brushTarget Target of the GridBrushBase.Tool operation. By default the currently selected GameObject.
tool Current GridBrushBase.Tool selected.

Descripción

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.