s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
IUndoSystem
chevron_left
API Reference
interface
IUndoSystem
Properties
data_object
RedoTimestamp
data_object
UndoTimestamp
Methods
functions
Redo
functions
Undo
IUndoSystem
Interface for an undo/redo edit history system.
interface
Sandbox.Helpers
.
abstract
Sandbox.Tools
data_object
Properties
2
RedoTimestamp
Nullable`1
Timestamp of the last undone change, or null if there's nothing to redo.
UndoTimestamp
Nullable`1
Timestamp of the last change made, or null if there's nothing to undo.
functions
Methods
2
Redo
(
)
bool
Redoes the last undone change, or returns false if there was no undone change to redo.
Undo
(
)
bool
Undoes the last change made. Calling Sandbox.Helpers.IUndoSystem.Redo should now re-apply that change. Returns false if there was no change to undo.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.