PlayModeChangesHelper MembersSTUUI API Documentation V1.0.0

The PlayModeChangesHelper type exposes the following members.
Constructors

  NameDescription
Public methodPlayModeChangesHelper
Creates a new PlayModeChangesHelper.
Back to Top
Methods

  NameDescription
Public methodDrawInspectorGUI
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.
Public methodInspectorEnabled
Call this in OnlineOnEnable() of your custom inspector.
Public methodStoreChanges
Stores changes that were remembered during play.
Back to Top
Properties

  NameDescription
Public propertyHasAnyOneChanges
Do any of the PlayModeChangesHelpers for the same type have changes? Read only.
Public propertyHasChanges
If there were changes applied during play mode, this returns true after play mode. Read only.
Public propertyPersistChanges
Should changes be kept after playing?
Public propertyPersistChangesImmediately
Should the changes be written back into the object immediately or only when calling StoreChanges ?
Back to Top
See Also