PlayerSettings.GetAdditionalIl2CppArgs

切换到手册

声明

public static string GetAdditionalIl2CppArgs();

返回值

string 在构建过程中传递给 IL2CPP 编译器的附加参数。

描述

获取在播放器构建过程中传递给 IL2CPP 编译器的附加参数。

返回为 IL2CPP 构建设置的附加参数字符串。Unity 编辑器通常会将许多命令行参数传递给 IL2CPP 作为构建过程的一部分。此方法返回通过 SetAdditionalIl2CppArgs 方法提供的任何附加参数。

此方法仅适用于高级用例。对于大多数项目,无需向 IL2CPP 提供额外的参数。


Did you find this page useful? Please give it a rating: