This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-09 16:37:35 +08:00
parent bc592b8ee8
commit e244b667a5
4 changed files with 21 additions and 76 deletions

View File

@ -670,7 +670,7 @@ GameObject:
m_Component:
- component: {fileID: 1099424172038461835}
- component: {fileID: 1919308642183367084}
- component: {fileID: 571890581702974147}
- component: {fileID: 3251609062916811664}
m_Layer: 5
m_Name: m_tmp_TeamName
m_TagString: Untagged
@ -705,7 +705,7 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 896533276575486331}
m_CullTransparentMesh: 1
--- !u!114 &571890581702974147
--- !u!114 &3251609062916811664
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -714,86 +714,31 @@ MonoBehaviour:
m_GameObject: {fileID: 896533276575486331}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Color: {r: 1, g: 0.9622972, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\u738B"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 61e28618d002ac7488fba94aea6f8607, type: 2}
m_sharedMaterial: {fileID: 1928963831957525247, guid: 61e28618d002ac7488fba94aea6f8607, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4285587198
m_fontColor: {r: 0.9960785, g: 0.8705883, b: 0.43921572, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 72
m_fontSizeBase: 72
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
m_FontData:
m_Font: {fileID: 12800000, guid: f8cafd7c799783241bc6430e405df799, type: 3}
m_FontSize: 58
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 120
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u738B"
--- !u!1 &961887325914475678
GameObject:
m_ObjectHideFlags: 0
@ -1386,7 +1331,7 @@ MonoBehaviour:
m_ShenDuValue: {fileID: 4126445047750826706}
m_RankIndex: {fileID: 8248612633869791436}
m_RankIndexText: {fileID: 251758745345865911}
m_TeamName: {fileID: 571890581702974147}
m_TeamName: {fileID: 3251609062916811664}
m_Score: {fileID: 895130500527971784}
--- !u!1 &1325409573337551025
GameObject:

File diff suppressed because one or more lines are too long

View File

@ -21,7 +21,7 @@ namespace GameLogic
public TextMeshProUGUI m_ShenDuValue;
public Image m_RankIndex;
public TextMeshProUGUI m_RankIndexText;
public TextMeshProUGUI m_TeamName;
public Text m_TeamName;
public TextMeshProUGUI m_Score;
public void OnInit(int i, JiaZuData data)