I am making a component and I’d love to add a preview in the editor. Animation window cleverly “locks” all animated properties while in Preview Mode and marks them with a special colour. When Preview Mode is disengaged, all values go back to their previous value. On top of that, Wnity won’t save new values if you ctrl+s while in preview mode.
How that is implemented? Is there any API I can use to reproduce the Preview mode of the Animation window?