ProjectExodus
ProjectExodus copied to clipboard
TODO: 2018.3 prefab system change
2018.3 version of unity has changed behavior of prefab system, including PrefabUtility, which is heavily used for prefab root detection. Needs to be cleaned up and modified.
Related:
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(31,15): warning CS0618: 'PrefabUtility.FindPrefabRoot(GameObject)' is obsolete: 'Use GetOutermostPrefabInstanceRoot if source is a Prefab instance or source.transform.root.gameObject if source is a Prefab Asset object.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(36,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(37,21): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(37,61): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(40,21): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(40,69): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(45,11): warning CS0618: 'PrefabUtility.FindPrefabRoot(GameObject)' is obsolete: 'Use GetOutermostPrefabInstanceRoot if source is a Prefab instance or source.transform.root.gameObject if source is a Prefab Asset object.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(49,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(50,24): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(54,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(55,24): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(59,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(60,24): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(60,64): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'