VRM_DEVELOP シンボル未定義時に unreachable code detected warning が出るのを抑制

This commit is contained in:
Masataka SUMI 2021-12-10 17:15:07 +09:00
parent b0f88ca2f0
commit 8059fe46d4

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
;
}
}
}
}