Version: 2019.1

Parameters

versionUnity version that this assembly is compatible with.
checkOnlyUnityVersionMust be set to true.

Description

Initializes a new instance of 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);

Parameters

versionUnity version that this assembly is compatible with.

Description

Initializes a new instance of UnityAPICompatibilityVersionAttribute. This overload has been deprecated.


Parameters

versionUnity version that this assembly is compatible with.
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...".

Description

Initializes a new instance of UnityAPICompatibilityVersionAttribute. This constructor is used by internal tooling.

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