The documentation suggests EditorApplication.pauseStateChanged as an alternative, but it does not provide the same functionality. The deprecated playModeStateChanged fires on entering play mode whereas pauseStateChanged does not.
EditorApplication.playmodeStateChanged = Old and deprecated
EditorApplication.playModeStateChanged = New and shiny
Please notice that “Mode” in “playMode” has different capitalization.
1 Like
Oh, duh. I don’t know how I missed that Thank you.