The PlayModeChangesHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
PlayModeChangesHelper |
Creates a new PlayModeChangesHelper.
|
Methods
Name | Description | |
---|---|---|
DrawInspectorGUI |
Draws the GUI both for setting whether or not changes should be
persisted (only while playing) and - if there are changes and
they were not stored - a button to store the changes.
| |
InspectorEnabled |
Call this in
OnEnable()
of your custom inspector.
| |
StoreChanges |
Stores changes that were remembered during play.
|
Properties
Name | Description | |
---|---|---|
HasAnyOneChanges |
Do any of the PlayModeChangesHelpers for the same type have changes?
Read only.
| |
HasChanges |
If there were changes applied during play mode, this returns
true after play mode. Read only.
| |
PersistChanges |
Should changes be kept after playing?
| |
PersistChangesImmediately |
Should the changes be written back into the object immediately or
only when calling StoreChanges ?
|
See Also