From 1fc301f3a0eba4466e71649fdef243a43ce726a7 Mon Sep 17 00:00:00 2001 From: Kozu Date: Sun, 3 Feb 2019 14:55:41 +0900 Subject: [PATCH] Fix #129 Fix #129 --- .../Editor/Rules/D_boothFormat/D02_NumberOfMaterialsRule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VketBoothValidator/Assets/VketBoothValidator/Editor/Rules/D_boothFormat/D02_NumberOfMaterialsRule.cs b/VketBoothValidator/Assets/VketBoothValidator/Editor/Rules/D_boothFormat/D02_NumberOfMaterialsRule.cs index 0ed4eac..dbb45fe 100644 --- a/VketBoothValidator/Assets/VketBoothValidator/Editor/Rules/D_boothFormat/D02_NumberOfMaterialsRule.cs +++ b/VketBoothValidator/Assets/VketBoothValidator/Editor/Rules/D_boothFormat/D02_NumberOfMaterialsRule.cs @@ -119,7 +119,7 @@ public override Result Validate() AddResultLog("ベースフォルダに含まれないマテリアルを参照しています。"); dirtFlg = true; } - string log = assetPath; + string log = string.Format("{0} ({1})", assetPath, material.shader.name); if (Path.GetExtension(assetPath).ToLower() == ".fbx") { log += string.Format(" ({0})", material.name);