|
Hi, I wrote a custom editor being used in Playmode(because physics mechanism is needed) to edit properties of a SerializedObject. I use PropertyField to let user edit those properties. Now I want to make a button which can reset all the properties modified to the initial states(the values when the editor just went into PlayMode ). Is there any function supporting this? Thanks.
(comments are locked)
|

There is a Undo/Redo mechanism but I never used in PlayMode.