Programming with Project Auditor
Identify obsolete API between Unity versions
Some Unity API becomes obsolete between versions of the Unity Editor. When you migrate a project to a more recent Editor version, obsolete API can block compilation, or warn you that an API is nearing the end of support.
To identify obsolete API:
- In the Project Auditor window, select the Code view.
- In the Areas filter, select the Upgrade checkbox.
- In the Show filter, select the Upgrade Recommendations checkbox.
- In the Target version dropdown, select the Unity version you want to upgrade this project to.
Obsolete APIs appear in the Issue list. To learn how to upgrade a specific obsolete API, select the warning in the issues list and review the Recommendation section for next steps.
Additional resources
Programming with Project Auditor
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。