When we still make multiple copies/Instances of ScriptableObject then how is it good for memory optimization.?
In Past, scripts were attached to prefabs and on instantiation, every script was used to create/reserve its own slot in memory, which was a bad approach because there were multiple copies of the same script.
What we do in scriptable objects is: create a scriptable object, create its multiple instances from Asset>Create> , feed data in those instances and access data when required. How it's is different from attaching script on prefab and instantiating it OR making multiple copies of ScriptableObject having data in them and access data from it.? After all we are making multiple copies in the scriptableobject as well.
Kindly explain the difference that how multiple copies of ScriptableObject are memory friendly then multiple copies of prefabs that are instantiated.?