From 098d0458a13faa17ad5b0a28d615b0c2ca059f9d Mon Sep 17 00:00:00 2001 From: ousttrue Date: Tue, 8 Jun 2021 18:22:06 +0900 Subject: [PATCH] remove waning --- .../VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs | 2 +- Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialExporter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs b/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs index 9ad55c194..3c8d4e44b 100644 --- a/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs +++ b/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs @@ -28,7 +28,7 @@ namespace UniVRM10 [SerializeField, Range(0, 0.5f), Header("Collision")] public float m_jointRadius = 0.02f; - SpringBoneLogic m_logic; + SpringBoneLogic m_logic = null; public void DrawGizmo(Transform center, Color color) { diff --git a/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialExporter.cs b/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialExporter.cs index c565911a5..407ea4515 100644 --- a/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialExporter.cs +++ b/Assets/VRM10/Runtime/IO/Material/Vrm10MToonMaterialExporter.cs @@ -141,7 +141,7 @@ namespace UniVRM10 return true; } - catch (Exception e) + catch (Exception) { dst = null; return false;