Table of Contents

Class UndoRedoManager

Namespace
PAC.UndoRedo
public class UndoRedoManager : MonoBehaviour
Inheritance
UndoRedoManager

Methods

AddUndoState(UndoRedoState, int)

public void AddUndoState(UndoRedoState undoState, int fileIndex)

Parameters

undoState UndoRedoState
fileIndex int

SubscribeToRedo(UnityAction)

public void SubscribeToRedo(UnityAction call)

Parameters

call UnityAction

SubscribeToUndo(UnityAction)

public void SubscribeToUndo(UnityAction call)

Parameters

call UnityAction

SubscribeToUndoOrRedo(UnityAction)

public void SubscribeToUndoOrRedo(UnityAction call)

Parameters

call UnityAction