In a recent project I tried to combine multiple ScriptableObjects in one file but after restarting Unity every script that did not match the file name had the message "Script could not be found" in the inspector. After moving every class into a corresponding file it worked as expected. So keep that in mind if you try to combine to be serialized classes in one file.

Vorheriger Beitrag Nächster Beitrag