Hi all,
I have a question about mongodb and unity. I know that mongodb can save classes and I think it can save objects.I am trying to save player profiles in a collection. Each profile is a class (in unity). In the profile I have a list with all of the player’s collected heroes. I am trying to save a list of objects(heroes) that have a script component with information about that item. When I use mongodb to save the objects, it just returns the objects without their script component attached. Is there any way to get around this? I have tried just saving the script components in the but in unity in list, each element in the inspector says None (myChar). Mongodb doesn’t seem to save them either. Any help would be greatly appreciated.
Thanks