CompilationPlatformInfo Class

Definition

This contains parsed information using Unity configuration about a specific compilation platform.

C++
public ref class CompilationPlatformInfo
Inheritance
CompilationPlatformInfo

Properties

AdditionalInEditorDefines

These defines are specific for this platform editor build.

AdditionalInEditorReferences

These references are specific for this platform editor build.

AdditionalPlayerDefines

These defines are specific for this platform player build.

AdditionalPlayerReferences

These references are specific for this platform player build.

BuildTarget

The BuildTarget this compilation platform represents.

BuildTargetGroup

The BuildTargetGroup this compilation platform represents.

CommonPlatformDefines

These defines are specific for this platform and common or player/editor.

CommonPlatformReferences

These references are specific for this platform and common or player/editor.

Name

The name of this compilation platform.

TargetFramework

The TargetFramework of this compilation platform.

Methods

GetCompilationPlatform(AssemblyDefinitionPlatform)

Given a non-editor AssemblyDefinitionPlatform platform, creates an instances of CompilationPlatform fetching defines and references.

GetEditorPlatform()

Creates an editor CompilationPlatformInfo (think Assembly-CSharp-Editor).

Applies to

Product Versions
MRTK2 Unity 2018 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0