Class Il2CppSetOptionAttribute Extends Attribute

Public

Use this attribute on a class, method, or property to inform the IL2CPP code conversion utility to override the global setting for one of a few different runtime checks.

Example:

[Il2CppSetOption(Option.NullChecks, false)] public static string MethodWithNullChecksDisabled() { var tmp = new Object(); return tmp.ToString(); }

Public Methods

Il2CppSetOptionAttribute (option, value)
Public

Public Variables

Option
Public
Value
Public