lcy
2026-04-29 454ffd106aa5aa27c7896184f892fe504d8541fd
602 坐骑优化 增加pma透明度设置
2个文件已修改
6 ■■■■ 已修改文件
Main/Config/Configs/HorseSkinConfig.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Horse/HorseController.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Config/Configs/HorseSkinConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           Monday, April 13, 2026
//    [  Date ]:           Wednesday, April 29, 2026
//--------------------------------------------------------
using System.Collections.Generic;
@@ -34,6 +34,7 @@
    public string Icon;
    public int showType;
    public int sortOrder;
    public int pmaVertexColorsOpen;
    public override int LoadKey(string _key)
    {
@@ -128,6 +129,8 @@
            int.TryParse(tables[16],out showType); 
            int.TryParse(tables[17],out sortOrder); 
            int.TryParse(tables[18],out pmaVertexColorsOpen);
        }
        catch (Exception exception)
        {
Main/System/Horse/HorseController.cs
@@ -83,6 +83,7 @@
            return;
        }
        skeletonGraphic.enabled = true;
        skeletonGraphic.MeshGenerator.settings.pmaVertexColors = skinConfig.pmaVertexColorsOpen == 1;
        skeletonGraphic.Initialize(true);
        skeletonGraphic.transform.localPosition = new Vector3(skinConfig.Poses[0], skinConfig.Poses[1], 0);