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.