Skip to content

CreatorHistory

CreatorHistory is a class that manages history (undo-redo) of this game instance. This class is only available in the creator.

Inherits: Instance

Methods

NewAction(title: string) → nil

Creates new action

AddDoCallback(callback: function) → nil

Add do callback

AddUndoCallback(callback: function) → nil

Add undo callback

CommitAction() → nil

Commit the current action