hch
2025-09-16 b5b8606e9a9a5cff45eb6744c474868ef4da9fc8
0312 适配调整
2个文件已修改
20 ■■■■ 已修改文件
Shader/OutlineEx.shader 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
UIComp/SkillBaseCell.prefab 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Shader/OutlineEx.shader
@@ -134,7 +134,7 @@
                const fixed sinArray[12] = { 0, 0.5, 0.866, 1, 0.866, 0.5, 0, -0.5, -0.866, -1, -0.866, -0.5 };
                const fixed cosArray[12] = { 1, 0.866, 0.5, 0, -0.5, -0.866, -1, -0.866, -0.5, 0, 0.5, 0.866 };
                float2 pos = IN.texcoord + _MainTex_TexelSize.xy * float2(cosArray[pIndex], sinArray[pIndex]) * IN.normal.z*0.12;    //normal.z 存放 _OutlineWidth
                float2 pos = IN.texcoord + _MainTex_TexelSize.xy * float2(cosArray[pIndex], sinArray[pIndex]) * IN.normal.z*0.2;    //normal.z 存放 _OutlineWidth
                return IsInRect(pos, IN.uv1, IN.uv2) * (tex2D(_MainTex, pos) + _TextureSampleAdd).w * IN.tangent.w;        //tangent.w  存放 _OutlineColor.w
            }
UIComp/SkillBaseCell.prefab
@@ -244,7 +244,7 @@
  - component: {fileID: 8364422125810424629}
  - component: {fileID: 7653091449425900876}
  - component: {fileID: 5436887058727803153}
  - component: {fileID: 6659771965945837021}
  - component: {fileID: 3406581591296820032}
  m_Layer: 5
  m_Name: type
  m_TagString: Untagged
@@ -262,14 +262,14 @@
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: 0, y: 0, z: 0}
  m_LocalScale: {x: 1, y: 1, z: 1}
  m_ConstrainProportionsScale: 0
  m_ConstrainProportionsScale: 1
  m_Children: []
  m_Father: {fileID: 224677353599006658}
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  m_AnchorMin: {x: 0.5, y: 0.5}
  m_AnchorMax: {x: 0.5, y: 0.5}
  m_AnchoredPosition: {x: 0, y: -41.41}
  m_SizeDelta: {x: 90, y: 26}
  m_AnchoredPosition: {x: 0, y: -36}
  m_SizeDelta: {x: 90, y: 40}
  m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7653091449425900876
CanvasRenderer:
@@ -291,7 +291,7 @@
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
  m_Name: 
  m_EditorClassIdentifier: 
  m_Material: {fileID: 0}
  m_Material: {fileID: 2100000, guid: 67c581adb87b67642b527f05017d7741, type: 2}
  m_Color: {r: 0.9607843, g: 0.9647059, b: 0.9019608, a: 1}
  m_RaycastTarget: 1
  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
@@ -301,7 +301,7 @@
      m_Calls: []
  m_FontData:
    m_Font: {fileID: 12800000, guid: 7cd825c6867461a4090871836190730f, type: 3}
    m_FontSize: 20
    m_FontSize: 30
    m_FontStyle: 0
    m_BestFit: 0
    m_MinSize: 1
@@ -313,7 +313,7 @@
    m_VerticalOverflow: 0
    m_LineSpacing: 1
  m_Text: "\u666E\u901A"
--- !u!114 &6659771965945837021
--- !u!114 &3406581591296820032
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
@@ -325,5 +325,5 @@
  m_Script: {fileID: 11500000, guid: 0952a679e87c6c743874501bacc08eb9, type: 3}
  m_Name: 
  m_EditorClassIdentifier: 
  OutlineColor: {r: 0, g: 0, b: 0, a: 0.5}
  OutlineWidth: 5
  m_OutlineColor: {r: 0, g: 0, b: 0, a: 0.5}
  OutlineWidth: 10