mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-12 05:24:14 -05:00
VRM_DEVELOP シンボル未定義時に unreachable code detected warning が出るのを抑制
This commit is contained in:
parent
b0f88ca2f0
commit
8059fe46d4
|
|
@ -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
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user