瀏覽代碼

[unity] Fixed Inspector preview skeleton `PMA Vertex Color` not being enabled for all Spine shaders. Closes #2129.

Harald Csaszar 3 年之前
父節點
當前提交
d9c6e048a0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs

+ 1 - 1
spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs

@@ -1240,7 +1240,7 @@ namespace Spine.Unity.Editor {
 		internal static readonly List<SkeletonComponentSpawnType> additionalSpawnTypes = new List<SkeletonComponentSpawnType>();
 
 		public static void TryInitializeSkeletonRendererSettings (SkeletonRenderer skeletonRenderer, Skin skin = null) {
-			const string PMAShaderQuery = "Spine/Skeleton";
+			const string PMAShaderQuery = "Spine/";
 			const string TintBlackShaderQuery = "Tint Black";
 
 			if (skeletonRenderer == null) return;