This is a relatively straightforward API update, except that due to the new Prefab structure there is no replacement for PrefabType.PrefabInstance. I'm a little worried that PrefabUtility.IsPartOfPrefabInstance(this), which I use here, might not be the correct way to fully capture the same functionality, or may introduce unintended functionality.
I used compiler arguments so that it would remain compatible with pre-2018.3 projects.
(I love this project, by the way. I use it to easilty keep track of the status/position of thousands of objects across all the scenes my game in order to automatically populate data into my player's save file.)
(First, sorry about my tabs)
This is a relatively straightforward API update, except that due to the new Prefab structure there is no replacement for
PrefabType.PrefabInstance
. I'm a little worried thatPrefabUtility.IsPartOfPrefabInstance(this)
, which I use here, might not be the correct way to fully capture the same functionality, or may introduce unintended functionality.I used compiler arguments so that it would remain compatible with pre-2018.3 projects.
(I love this project, by the way. I use it to easilty keep track of the status/position of thousands of objects across all the scenes my game in order to automatically populate data into my player's save file.)