Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

PlayerSettings.GetIl2CppLTOMode

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Declaration

public static Il2CppLTOMode GetIl2CppLTOMode(NamedBuildTarget buildTarget);

Parameters

Parameter Description
buildTarget The name of the build target you want to query.

Returns

Il2CppLTOMode The link-time optimization mode for the specified build target.

Description

Gets link time optimization (LTO) mode for il2cpp builds for the build target you specify.