public void RegisterUndo (GameObject brushTarget, Tool tool);

Parámetros

brushTargetTarget of the GridBrushBase.Tool operation. By default the currently selected GameObject.
toolCurrent 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.