C# Class MementoPattern.MementoDesignPattern

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: marwie/Design-Patterns-in-Unity-Example

Public Methods

Method Description
Redo ( ) : string
Save ( string text ) : void
Undo ( ) : string

Private Methods

Method Description
OnEnable ( ) : void

Method Details

Redo() public method

public Redo ( ) : string
return string

Save() public method

public Save ( string text ) : void
text string
return void

Undo() public method

public Undo ( ) : string
return string