branchsbox/component-id2cancel

8 Commits over 0 Days - ∞cph!

46 Days Ago
Let's not make this elseif - always check both
46 Days Ago
Test both old and new formats
46 Days Ago
Add test for loading old reference model type from prefab / json
46 Days Ago
Phase out storing GO guid and component type MakeGameObjectsUnique -> MakeIdGuidsUnique (make old method Obsolete and redirect to MakeIdGuidsUnique) Unit test for clone with references When adding component or game object to Directory - check is there a component or game object with that id already, if so, force change it to a new one and spit a warning out. No component or game object should ever be able to share the same guid anyway but this makes sure
46 Days Ago
Serialize as Id not __id so also picked up by MakeGameObjectsUnique Scene unique component ids - update serialization test accordingly
46 Days Ago
Update GameObjectInspector to use Component.Id to determine already seen components. This makes it rebuild properly for multiple components of the same type
46 Days Ago
Add unit tests for component id serialization / deserialization - make sure references to Components with Property are properly restored to the correct components by id
47 Days Ago
Component id + prune those for refresh as well Serialize id properly