ScriptableObject alternative, editable at runtime
Anybody know the path of least resistance to create something like a ScriptableObject, except it can be edited at runtime? Working on a planner and need to create a pseudo state machine.
Only thing I can think of is the following. But it all feels really messy. Was hoping for something a lot simpler.
Use reflection to crawl a BaseClass (not a ScriptableObject) and store the serialized values in a ScriptableObject that acts like a database for all the serialized data.
Edit the values with a hand-made editor window that makes use of reflection.
At runtime deserialize the stored data in the ScriptableObject into actual runtime classes.
Your answer
Follow this Question
Related Questions
Editor script for scriptableobject not working. 1 Answer
ScriptableObject not Serializing? 0 Answers
Access an Array of class inside another Array of class? (EditorGUILayout) 1 Answer
ScriptableObjects inside another ScriptableObject not saving changes in Custom Editor Window 0 Answers
How can I get a sub asset? 1 Answer