参数

version此程序集兼容的 Unity 版本。
checkOnlyUnityVersion必须设置为 true。

描述

初始化 UnityAPICompatibilityVersionAttribute 的新实例。

Instructs APIUpdater to only check Unity version when deciding whether assemblies should be inspected for obsolete API usages ignoring any other sources of update configurations. This overload is meant to be used only during development cycle in scenarios in which game code is built outside unity and imported as assemblies to avoid AssemblyUpdater checking the assembly. As an alternative you should consider passing disable-assembly-updater as a command line argument (see Unity manual for more details).


public UnityAPICompatibilityVersionAttribute (string version);

参数

version此程序集兼容的 Unity 版本。

描述

初始化 UnityAPICompatibilityVersionAttribute 的新实例。此重载已弃用。


参数

version此程序集兼容的 Unity 版本。
configurationAssembliesHashesComma separated list of hash of the contents of all referenced assemblies (by the assembly the attribute is applied to) that contains updater configurations in the form "assemblyname:hash,assemblyname:hash...".

描述

初始化 UnityAPICompatibilityVersionAttribute 的新实例。此构造函数供内部工具使用。

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961