I have a bunch of XML-files in my project (in a specific folder) I want converted into scriptableobjects/assets. If an XML-file is changed (in the editor) I want the assets to be automatically updated. How do I accomplish this?
I think you need to write a AssetPostprocessor
And more specifically use the method OnPostprocessAllAssets
I don’t have any experience with this class myself, but looking at he docs it could be used for the thing you want to do.
See also this post for a example.