unitytips: Using ScriptableObject and EditorApplication.isPlaying to refresh the game view
28/04/2020
You can use EditorApplication.isPlaying in your custom editor to update the game view when a ScriptableObject is updated and you need to restart the scene or do something more complex to see the result of ScriptableObject changed during the game’s playing in the editor.