lcy
7 天以前 3b2a6bb9047cfce9f501593b3669a9c1af6c5df4
Main/Component/UI/Common/SkeletonIllusionShadow.cs
@@ -94,6 +94,14 @@
        sa.timeScale = 0;
        RendererAdjuster parent = skeletonAnimation.GetComponentInParent<RendererAdjuster>();
        if (parent == null)
        {
            BattleDebug.LogError("SkeletonIllusionShadow 创建残影失败,找不到 RendererAdjuster 组件");
            GameObject.DestroyImmediate(objTest);
            return;
        }
        objTest.AddMissingComponent<RendererAdjuster>().SetSortingOrder(parent.sortingOrder - 1);
        sa.skeleton.R = color.r;