UnityAPICompatibilityVersionAttribute
Declares an assembly to be compatible (API wise) with a specific Unity API. Used by internal tools to avoid processing the assembly in order to decide whether assemblies may be using old Unity API.
Read time 3 minutesLast updated 3 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]public class UnityAPICompatibilityVersionAttribute : Attribute, _Attribute
Constructors
Constructor | Description |
|---|---|
| UnityAPICompatibilityVersionAttribute(System.String,System.Boolean) | Initializes a new instance of UnityAPICompatibilityVersionAttribute. |
| UnityAPICompatibilityVersionAttribute(System.String,System.String[]) | Initializes a new instance of UnityAPICompatibilityVersionAttribute. This constructor is used by internal tooling. |
Properties
Property | Description |
|---|---|
| version | Version of Unity API. |