- Home /
Question by
Servail · Jul 01, 2019 at 10:35 AM ·
objectscriptableobjectinstancescriptable objectfindobjectsoftype
Where is ScriptableObject.CreateInstance stored?
Just in memory (then how to kind of FindObjects them)? How do I recognize from code, is it Asset or CreateInstance one? Any differences (at runtime)?
Comment
Best Answer
Answer by Servail · Jul 01, 2019 at 05:05 PM
As I found by experimenting, they're stored in "scene" and got by FindObjectsOfType(). So which is in this list is "Instance", others are Assets. It's probably not the best solution, I guess?
Answer by $$anonymous$$ · Jul 01, 2019 at 01:44 PM
this video can help you here
The video I link is a 1 hour talk about scriptableObjects and the video was made by the unity $$anonymous$$m