Skip to content

CreatorHistory

Inherits Instance

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

Not newable

This object cannot be created by scripts using Instance.New().

Methods

NewAction → nil

Parameters: title [ string ]

Creates new action

AddDoCallback → nil

Parameters: callback [ function ]

Add do callback

AddUndoCallback → nil

Parameters: callback [ function ]

Add undo callback

CommitAction → nil

Parameters: ``

Commit the current action