Unity 5 equivalent of: EditorApplication.playmodeStateChanged

I am trying to fix AutoSceneLoader code to run in Unity 5+.

One thing it does is add a handler: “EditorApplication.playmodeStateChanged += OnPlayModeChanged;”

How would I do that in Unity 5.x?
I don’t see anything in EditorSceneManager, but maybe I’m missing it.

Help Mr. Wizard!
Thanks.
– Paul

The EditorApplication.playmodeStateChanged callback still exists in Unity 5. It sounds like maybe there is some other API point (e.g., something related to scene loading/saving) you are having trouble with.