Merge pull request #1419 from Santarh/fixWarning

Suppress compler warning `unreachable code detected warning` when `VRM_DEVELOP` symbol is undefined.
This commit is contained in:
ousttrue
2021-12-10 17:56:25 +09:00
committed by GitHub

View File

@@ -7,12 +7,16 @@ namespace VRMShaders
/// VRMShaders が最下層になるため、ここに配置している
/// </summary>
/// <value></value>
public const bool VRM_DEVELOP =
public static bool VRM_DEVELOP
{
get
{
#if VRM_DEVELOP
true
return true;
#else
false
return false;
#endif
;
}
}
}
}