Version: 2022.3

PlayerSettings.suppressCommonWarnings

切换到手册
public static bool suppressCommonWarnings ;

描述

Suppresses common C# warnings.

The warnings which are suppressed are CS0169 and CS0649.

See Also: AdditionalCompilerArguments.