From 8059fe46d43e3ee0d76a3655d2aed8661a6a644a Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Fri, 10 Dec 2021 17:15:07 +0900 Subject: [PATCH] =?UTF-8?q?VRM=5FDEVELOP=20=E3=82=B7=E3=83=B3=E3=83=9C?= =?UTF-8?q?=E3=83=AB=E6=9C=AA=E5=AE=9A=E7=BE=A9=E6=99=82=E3=81=AB=20unreac?= =?UTF-8?q?hable=20code=20detected=20warning=20=E3=81=8C=E5=87=BA=E3=82=8B?= =?UTF-8?q?=E3=81=AE=E3=82=92=E6=8A=91=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs b/Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs index 7035e055e..3766e019c 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/Util/Symbols.cs @@ -7,12 +7,16 @@ namespace VRMShaders /// VRMShaders が最下層になるため、ここに配置している /// /// - public const bool VRM_DEVELOP = + public static bool VRM_DEVELOP + { + get + { #if VRM_DEVELOP -true + return true; #else -false + return false; #endif - ; + } + } } }