商店相关
parent
1d0707097b
commit
c9b0c84c68
File diff suppressed because it is too large
Load Diff
|
|
@ -1057,7 +1057,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &4139759404961125882
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -1461,6 +1461,141 @@ MonoBehaviour:
|
|||
m_hasFontAssetChanged: 0
|
||||
m_baseMaterial: {fileID: 0}
|
||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||
--- !u!1 &4842514390684420257
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1092533077658426636}
|
||||
- component: {fileID: 5507643570390200009}
|
||||
- component: {fileID: 5104780413569580758}
|
||||
m_Layer: 5
|
||||
m_Name: RedValue
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1092533077658426636
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4842514390684420257}
|
||||
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_Children: []
|
||||
m_Father: {fileID: 3447850949397031879}
|
||||
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: 158.9, y: -0.00079345703}
|
||||
m_SizeDelta: {x: 120, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5507643570390200009
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4842514390684420257}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &5104780413569580758
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4842514390684420257}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, 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: 10000
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: d996718f19de68245bc356be2938e063, type: 2}
|
||||
m_sharedMaterial: {fileID: -8559898196655864114, guid: d996718f19de68245bc356be2938e063,
|
||||
type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4278519244
|
||||
m_fontColor: {r: 0.8018868, g: 0.018912422, b: 0.018912422, 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: 30
|
||||
m_fontSizeBase: 30
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 1
|
||||
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: -7.0672264, 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}
|
||||
--- !u!1 &4888076068231546840
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -2243,6 +2378,7 @@ RectTransform:
|
|||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 4139759404961125882}
|
||||
- {fileID: 1092533077658426636}
|
||||
- {fileID: 2751939343686680225}
|
||||
m_Father: {fileID: 8578590093791085132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
@ -3538,12 +3674,12 @@ PrefabInstance:
|
|||
- target: {fileID: 264127344272169930, guid: 79f31231694d797429b535dbe70fda4e,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0.01
|
||||
value: 1851.79
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 264127344272169930, guid: 79f31231694d797429b535dbe70fda4e,
|
||||
type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 980.3794
|
||||
value: 980.38
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 264127344272169930, guid: 79f31231694d797429b535dbe70fda4e,
|
||||
type: 3}
|
||||
|
|
@ -3598,7 +3734,7 @@ PrefabInstance:
|
|||
- target: {fileID: 264127344272169930, guid: 79f31231694d797429b535dbe70fda4e,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0.0014648438
|
||||
value: -6.91
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 264127344272169930, guid: 79f31231694d797429b535dbe70fda4e,
|
||||
type: 3}
|
||||
|
|
|
|||
|
|
@ -73,6 +73,127 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &2677481475411515916
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7981390802196614349}
|
||||
- component: {fileID: 6713038963178223373}
|
||||
- component: {fileID: 6479717153807348287}
|
||||
- component: {fileID: 901691511077936484}
|
||||
m_Layer: 5
|
||||
m_Name: test3
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!224 &7981390802196614349
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2677481475411515916}
|
||||
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_Children:
|
||||
- {fileID: 6378846998632215493}
|
||||
m_Father: {fileID: 9222808157138107568}
|
||||
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: 2.3, y: 1.8}
|
||||
m_SizeDelta: {x: 195, y: 188}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6713038963178223373
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2677481475411515916}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &6479717153807348287
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2677481475411515916}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, 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_Sprite: {fileID: 21300000, guid: 93d8d6c4829253a4ca17c14f61b84d8d, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &901691511077936484
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2677481475411515916}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
m_Mode: 3
|
||||
m_WrapAround: 0
|
||||
m_SelectOnUp: {fileID: 0}
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||
m_ColorMultiplier: 1
|
||||
m_FadeDuration: 0.1
|
||||
m_SpriteState:
|
||||
m_HighlightedSprite: {fileID: 0}
|
||||
m_PressedSprite: {fileID: 0}
|
||||
m_SelectedSprite: {fileID: 0}
|
||||
m_DisabledSprite: {fileID: 0}
|
||||
m_AnimationTriggers:
|
||||
m_NormalTrigger: Normal
|
||||
m_HighlightedTrigger: Highlighted
|
||||
m_PressedTrigger: Pressed
|
||||
m_SelectedTrigger: Selected
|
||||
m_DisabledTrigger: Disabled
|
||||
m_Interactable: 1
|
||||
m_TargetGraphic: {fileID: 6479717153807348287}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
--- !u!1 &4535705021890104470
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -284,6 +405,141 @@ MonoBehaviour:
|
|||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &5234929856734496973
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4227886631646254129}
|
||||
- component: {fileID: 4908139099704698799}
|
||||
- component: {fileID: 7182202375497276185}
|
||||
m_Layer: 5
|
||||
m_Name: Text_ItemNum
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4227886631646254129
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5234929856734496973}
|
||||
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_Children: []
|
||||
m_Father: {fileID: 6378846998632215493}
|
||||
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: 0}
|
||||
m_SizeDelta: {x: 100, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4908139099704698799
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5234929856734496973}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &7182202375497276185
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5234929856734496973}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, 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: 200000
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: c06fb088272c9a1439e7cabe6d54f3d7, type: 2}
|
||||
m_sharedMaterial: {fileID: 4565336450146555445, guid: c06fb088272c9a1439e7cabe6d54f3d7,
|
||||
type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontColor: {r: 1, g: 1, b: 1, 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: 30
|
||||
m_fontSizeBase: 30
|
||||
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}
|
||||
--- !u!1 &6371644929258944801
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -404,6 +660,82 @@ CanvasRenderer:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6472242253946197546}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &6573991130584540040
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6378846998632215493}
|
||||
- component: {fileID: 8189308068941621971}
|
||||
- component: {fileID: 3193649961092879852}
|
||||
m_Layer: 5
|
||||
m_Name: Image_Bar
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &6378846998632215493
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6573991130584540040}
|
||||
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_Children:
|
||||
- {fileID: 4227886631646254129}
|
||||
m_Father: {fileID: 7981390802196614349}
|
||||
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: 27.4, y: -56.4}
|
||||
m_SizeDelta: {x: 100, y: 32}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8189308068941621971
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6573991130584540040}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3193649961092879852
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6573991130584540040}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.7607843}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 58a87eebb2af836419b29a5e1096e29f, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &6740005008781056972
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -435,6 +767,7 @@ RectTransform:
|
|||
m_Children:
|
||||
- {fileID: 9151667878532962899}
|
||||
- {fileID: 7241592003273361909}
|
||||
- {fileID: 7981390802196614349}
|
||||
- {fileID: 3275787280689273505}
|
||||
- {fileID: 8535708463308638277}
|
||||
m_Father: {fileID: 0}
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ public partial class UIManager
|
|||
_WindowMeta(UINameConst.UI_PVPDefendPrepare, UIWindowLayer.Normal);
|
||||
_WindowMeta(UINameConst.UI_Shop, UIWindowLayer.Normal);
|
||||
_WindowMeta(UINameConst.UI_Purchase, UIWindowLayer.Normal);
|
||||
_WindowMeta(UINameConst.UI_GetItemWindow, UIWindowLayer.Normal);
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -151,5 +152,6 @@ public static class UINameConst
|
|||
public static readonly string UI_PVPDefendPrepare = "PVP/UI_PVPDefendPrepare";
|
||||
public static readonly string UI_Shop = "Interface/Shop/UI_Shop";
|
||||
public static readonly string UI_Purchase = "Interface/Shop/UI_Purchase";
|
||||
public static readonly string UI_GetItemWindow= "Interface/Shop/UI_GetItemWindow";
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using System.ComponentModel;
|
||||
|
||||
[Category("DisplayID")]
|
||||
public partial class SROptions
|
||||
{
|
||||
public bool IsDisplayId
|
||||
{
|
||||
|
||||
get { return _isDisplayId; }
|
||||
|
||||
set
|
||||
{
|
||||
_isDisplayId = value;
|
||||
DisplayIDForCeHua.IsDisplayID = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private bool _isDisplayId = false;
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b988daf69ae3fc9469a6335cf5e99d96
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -43,7 +43,6 @@ public class MyGame : Game
|
|||
|
||||
_Register<MailSystem>();
|
||||
_Register<SystemManager>();
|
||||
_Register<ShopManager>();
|
||||
SDKManager.Instance.Init();
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,12 +62,13 @@ namespace Gameplay.Net
|
|||
// 登录成功后被调用
|
||||
public override void OnLoginOK()
|
||||
{
|
||||
|
||||
ShopManager.GetSingleton().Init();
|
||||
}
|
||||
|
||||
// 退出游戏时被调用,比如切换账号时
|
||||
public override void OnLogout()
|
||||
{
|
||||
ShopManager.GetSingleton().Release();
|
||||
Clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 文件:/Code/Scripts/Gameplay/Net/Messages/MSG_G_Clt_ItemList.cs
|
||||
// 作者:NLD Tools
|
||||
|
|
@ -53,6 +53,8 @@ namespace Gameplay.Net
|
|||
{
|
||||
Actor.Instance.RewardItems.Set(m_PB.ItemSource, m_PB.ItemId[i], m_PB.ItemCount[i]);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
using UnityEngine;
|
||||
|
||||
public static class DisplayIDForCeHua
|
||||
{
|
||||
private static bool _isDisplayID;
|
||||
|
||||
public static bool IsDisplayID
|
||||
{
|
||||
get { return _isDisplayID; }
|
||||
set
|
||||
{
|
||||
_isDisplayID = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 54dc01863c3c03243b2a8fe0c2e457aa
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -87,7 +87,7 @@ public class ShopData
|
|||
|
||||
}
|
||||
|
||||
public class ShopManager:Singlenton<ShopManager>, IInitable
|
||||
public class ShopManager:Singlenton<ShopManager>
|
||||
{
|
||||
public List<ShopData> AllShopData = new List<ShopData>();
|
||||
public Dictionary<int, ShopData> ShopIdDic = new Dictionary<int, ShopData>();
|
||||
|
|
@ -107,7 +107,7 @@ public class ShopManager:Singlenton<ShopManager>, IInitable
|
|||
|
||||
private void InitAllShop()
|
||||
{
|
||||
cfg.Tables Table = TableManager.Instance.Tables ?? new Tables(TableManager.LoadByteBuf);
|
||||
cfg.Tables Table = TableManager.Instance.Tables;
|
||||
|
||||
for (int i = 0; i <Table.Shop.DataList.Count; i++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ public class UI_PurchaseController : UIWindow
|
|||
private Button RetBtn;
|
||||
private Button buyBtn;
|
||||
|
||||
private TMP_Text redValueText;
|
||||
|
||||
// Use this for initialization
|
||||
public override void OnAwake()
|
||||
{
|
||||
|
|
@ -70,7 +72,7 @@ public class UI_PurchaseController : UIWindow
|
|||
BindButton(RetBtn, OnRetBtnClick);
|
||||
buyBtn = GetComponent<Button>("Image_BG/Button_Buy");
|
||||
BindButton(buyBtn, OnBuyBtnClick);
|
||||
|
||||
redValueText = GetComponent<TMP_Text>("Image_BG/BuyingDetail/RedValue");
|
||||
}
|
||||
|
||||
private void OnBuyBtnClick()
|
||||
|
|
@ -171,8 +173,11 @@ public class UI_PurchaseController : UIWindow
|
|||
mShopId= tempItem.shopId;
|
||||
mBuyTime = 1;
|
||||
RefreshUI();
|
||||
}
|
||||
private void RefreshUI()
|
||||
CommonUtils.SetImageBlur(GetComponent<Image>("blurObj"));
|
||||
RefreshMoreCount();
|
||||
|
||||
}
|
||||
private void RefreshUI()
|
||||
{
|
||||
AssetManager.Instance.LoadAssetOnCallBack<Sprite>( ShopManager.Instance.GetIconPath(mShopId, mIndex),OnShopIconLoaded);
|
||||
Text_ItemName.text = mNowItem.Name;
|
||||
|
|
@ -183,8 +188,16 @@ public class UI_PurchaseController : UIWindow
|
|||
}
|
||||
private void RefreshMoreCount()
|
||||
{
|
||||
Text_TPNum.text = (mNowItem.shopItemCfg.PriceCount * mBuyTime).ToString();
|
||||
int sumPrice = mNowItem.shopItemCfg.PriceCount * mBuyTime;
|
||||
|
||||
Text_TPNum.text = sumPrice.ToString();
|
||||
|
||||
Text_Num.text = mBuyTime.ToString() ;
|
||||
redValueText.text = sumPrice.ToString();
|
||||
|
||||
bool isEnough = sumPrice >= CommonUtils.GetItemCount(mNowItem.shopItemCfg.PriceID);
|
||||
redValueText.gameObject.SetActive(!isEnough);
|
||||
Text_TPNum.gameObject.SetActive(isEnough);
|
||||
}
|
||||
|
||||
private void OnShopIconLoaded(Sprite sprite)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
using Framework;
|
||||
using Gameplay;
|
||||
using Gameplay.Common;
|
||||
using Gameplay.Net;
|
||||
using PhxhSDK;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -45,6 +47,9 @@ public class UI_ShopController : UIWindow
|
|||
public Image Image_NoMore;
|
||||
public TMP_Text Text_NoMore;
|
||||
|
||||
UI_CurrencyItem diamondItem;
|
||||
UI_CurrencyItem coinItem;
|
||||
|
||||
Dictionary<GameObject, ShopData> mGoDataDic;
|
||||
Dictionary<GameObject, ShopItemForDisplay> mShopItemGoDataDic;
|
||||
Dictionary<GameObject, int> mShopItemIndexGoDataDic;
|
||||
|
|
@ -75,11 +80,7 @@ public class UI_ShopController : UIWindow
|
|||
BindButton(Button_Home, OnHomeBtnClick);
|
||||
mNowShopDataList = new List<ShopData>();
|
||||
}
|
||||
private void RefreshTime()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void OnHomeBtnClick()
|
||||
{
|
||||
UIManager.Instance.CloseAllNormalExcept(UINameConst.UI_MainPanel);
|
||||
|
|
@ -99,7 +100,7 @@ public class UI_ShopController : UIWindow
|
|||
|
||||
private async void OnShopBuyRetClick(ItemCounts counts)
|
||||
{
|
||||
await UIManager.Instance.OpenWindow(UINameConst.UIGiftCodeAwards, counts);
|
||||
await UIManager.Instance.OpenWindow(UINameConst.UI_GetItemWindow, counts);
|
||||
}
|
||||
|
||||
private void UnRegisterEvent()
|
||||
|
|
@ -108,7 +109,14 @@ public class UI_ShopController : UIWindow
|
|||
EventManager.Instance.Unregister(EventManager.EventName.ShopBuyGoodsRet, (Action<ItemCounts>)OnShopBuyRetClick);
|
||||
|
||||
}
|
||||
|
||||
private void RefreshMoney()
|
||||
{
|
||||
diamondItem.currencyID = GLConfig.Inst.data.DiamondItemId;
|
||||
coinItem.currencyID = GLConfig.Inst.data.GoldItemId;
|
||||
//Text_PPNow.text = Actor.Instance.Item.GetItemCount(GLConfig.Inst.data.EnergyPointID).ToString();
|
||||
//Text_PPMax.text = maxLevel.MaxEnergy.ToString();
|
||||
//Text_Time.text = GetNowTime();
|
||||
}
|
||||
//invoke when open window
|
||||
protected override void OnOpenWindow()
|
||||
{
|
||||
|
|
@ -118,6 +126,7 @@ public class UI_ShopController : UIWindow
|
|||
CreateScrollView();
|
||||
RegisterEvent();
|
||||
RefreshBtns(nowShopData.Id);
|
||||
RefreshMoney();
|
||||
}
|
||||
|
||||
private void CreateScrollView()
|
||||
|
|
@ -163,6 +172,7 @@ public class UI_ShopController : UIWindow
|
|||
CommonUtils.ShowMessageTips("shop_NoRemainTips");
|
||||
return;
|
||||
}
|
||||
CommonUtils.CaptureScreenshot();
|
||||
await UIManager.Instance.OpenWindow(UINameConst.UI_Purchase, shopItemContainPic);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public class CharacterDataInfoManager : Singlenton<CharacterDataInfoManager>, II
|
|||
{
|
||||
DataList.Clear();
|
||||
DataDic.Clear();
|
||||
cfg.Tables Table = TableManager.Instance.Tables ?? new Tables(TableManager.LoadByteBuf);
|
||||
cfg.Tables Table = TableManager.Instance.Tables;
|
||||
|
||||
CharacterAttri attriCfg = Table.CharacterAttri;
|
||||
foreach (var item in attriCfg.DataList)
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ public class ItemObj
|
|||
{
|
||||
cultivate,
|
||||
mail,
|
||||
shop,
|
||||
}
|
||||
|
||||
public ItemObj(int itemId, GameObject parentObject,Action click=null)
|
||||
|
|
@ -76,8 +77,13 @@ public class ItemObj
|
|||
case UIType.cultivate:
|
||||
CommonUtils.GetGameObject(_itemGo, "test1").SetActive(true);
|
||||
break;
|
||||
case UIType.shop:
|
||||
CommonUtils.GetGameObject(_itemGo, "test3").SetActive(true);
|
||||
break;
|
||||
}
|
||||
CommonUtils.GetComponent<TMP_Text>(_itemGo, "test2/icon/Text_StuffNum").text = count.ToString(); ;
|
||||
CommonUtils.GetComponent<TMP_Text>(_itemGo, "test2/icon/Text_StuffNum").text = count.ToString(); ;
|
||||
|
||||
}
|
||||
|
||||
private void InitData(int itemId,GameObject paObj)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,41 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using Framework;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.UIElements;
|
||||
using Button = UnityEngine.UI.Button;
|
||||
using Image = UnityEngine.UI.Image;
|
||||
using Toggle = UnityEngine.UI.Toggle;
|
||||
using ScrollView = PhxhSDK.PhxhScrollView;
|
||||
|
||||
public class UI_GetItemWindowBinder
|
||||
{
|
||||
|
||||
public static void GetComponents(UI_GetItemWindowController window)
|
||||
{
|
||||
window.Image_BG = window.GetComponent<Image>("Image_BG");
|
||||
window.Image_ItemPic = window.GetComponent<Image>("Image_BG/Image_ItemPic");
|
||||
window.Image_Bar = window.GetComponent<Image>("Image_BG/Image_ItemPic/Image_Bar");
|
||||
window.Text_ItemNum = window.GetComponent<TMP_Text>("Image_BG/Image_ItemPic/Image_Bar/Text_ItemNum");
|
||||
window.Text_IteamName = window.GetComponent<TMP_Text>("Image_BG/Text_IteamName");
|
||||
window.Text_Continue = window.GetComponent<TMP_Text>("Image_BG/Text_Continue");
|
||||
|
||||
}
|
||||
|
||||
/****** 定义变量语句 ******
|
||||
public Image Image_BG;
|
||||
public Image Image_ItemPic;
|
||||
public Image Image_Bar;
|
||||
public TMP_Text Text_ItemNum;
|
||||
public TMP_Text Text_IteamName;
|
||||
public TMP_Text Text_Continue;
|
||||
public TMP_Text Text_IteamName;
|
||||
public TMP_Text Text_IteamName;
|
||||
public TMP_Text Text_IteamName;
|
||||
public TMP_Text Text_IteamName;
|
||||
public TMP_Text Text_IteamName;
|
||||
|
||||
****** End ******/
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 766b7fb4859ee6b4387a53141bdc8a22
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -47,12 +47,6 @@ public class UI_ShopBinder
|
|||
window.Text_NotChoose = window.GetComponent<TMP_Text>("Image_BG/ShopBtn/Btn3/Button_NotChoose/Text_NotChoose");
|
||||
window.Image_LogoWhite = window.GetComponent<Image>("Image_BG/ShopBtn/Btn3/Button_NotChoose/Image_LogoWhite");
|
||||
|
||||
window.Button_Choose = window.GetComponent<Button>("Image_BG/BtnItem/Button_Choose");
|
||||
window.Text_Choose = window.GetComponent<TMP_Text>("Image_BG/BtnItem/Button_Choose/Text_Choose");
|
||||
window.Image_LogoBlack = window.GetComponent<Image>("Image_BG/BtnItem/Button_Choose/Image_LogoBlack");
|
||||
window.Button_NotChoose = window.GetComponent<Button>("Image_BG/BtnItem/Button_NotChoose");
|
||||
window.Text_NotChoose = window.GetComponent<TMP_Text>("Image_BG/BtnItem/Button_NotChoose/Text_NotChoose");
|
||||
window.Image_LogoWhite = window.GetComponent<Image>("Image_BG/BtnItem/Button_NotChoose/Image_LogoWhite");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,87 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.UIElements;
|
||||
using Button = UnityEngine.UI.Button;
|
||||
using Image = UnityEngine.UI.Image;
|
||||
using Toggle = UnityEngine.UI.Toggle;
|
||||
using ScrollView = PhxhSDK.PhxhScrollView;
|
||||
using Framework;
|
||||
using System;
|
||||
using Gameplay;
|
||||
|
||||
public class UI_GetItemWindowController : UIWindow
|
||||
{
|
||||
//UI GameObj
|
||||
///Auto Gen Start///
|
||||
public Image Image_BG;
|
||||
public Image Image_ItemPic;
|
||||
public Image Image_Bar;
|
||||
public TMP_Text Text_ItemNum;
|
||||
public TMP_Text Text_IteamName;
|
||||
public TMP_Text Text_Continue;
|
||||
private ItemCounts mItems;
|
||||
|
||||
|
||||
///Auto Gen End///
|
||||
|
||||
// Use this for initialization
|
||||
public override void OnAwake()
|
||||
{
|
||||
//bind UI GameObj
|
||||
UI_GetItemWindowBinder.GetComponents(this);
|
||||
BindButton(GetComponent<Button>("Image_BG"), OnBgClick);
|
||||
}
|
||||
|
||||
private void OnBgClick()
|
||||
{
|
||||
CloseWindow();
|
||||
}
|
||||
|
||||
//invoke when open window
|
||||
protected override void OnOpenWindow(object data = null)
|
||||
{
|
||||
mItems = data as ItemCounts;
|
||||
RefreshMaterial(mItems);
|
||||
|
||||
}
|
||||
private async void RefreshMaterial(ItemCounts mItems)
|
||||
{
|
||||
string allName = "";
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
GameObject itemParent = FindObj(string.Format("Image_BG/Goods/{0}", (i + 1).ToString()));
|
||||
CommonUtils.DestoryAllChildGameObject(CommonUtils.GetGameObject(itemParent, "item"));
|
||||
|
||||
if (i < mItems.Ids.Count)
|
||||
{
|
||||
itemParent.SetActive(true);
|
||||
|
||||
ItemObj itemObj = new ItemObj((int)mItems.Ids[i], CommonUtils.GetGameObject(itemParent, "item"),ItemObj.UIType.shop);
|
||||
await itemObj.Init();
|
||||
CommonUtils.GetComponent<TMP_Text>(itemParent, "Text_IteamName").text = CommonUtils.GetItemName((int)mItems.Ids[i]);
|
||||
//allName += TableManager.Instance.Tables.Item.Get((int)mItems.Ids[i]).ID + "X" + mItems.Counts[i];
|
||||
}
|
||||
else
|
||||
{
|
||||
itemParent.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//invoke when reload window
|
||||
protected override void OnReloadWindow(object data = null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//invoke when close window
|
||||
protected override void OnCloseWindow()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 830662edd757e5e429562e2599468b0f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -88,7 +88,7 @@ public class UI_MainPanelController: UIWindow
|
|||
|
||||
bool isFirst = true;
|
||||
// Use this for initializationf
|
||||
public override async void OnAwake()
|
||||
public override void OnAwake()
|
||||
{
|
||||
//bind UI GameObj
|
||||
bannerTiaoList = new List<GameObject>();
|
||||
|
|
@ -443,7 +443,7 @@ public class UI_MainPanelController: UIWindow
|
|||
Image_ExBar.fillAmount = (float)Actor.Instance.Base.GetProp(NLDPB.ActorProp.Exp) / maxExp;
|
||||
Text_ExHad.text = Actor.Instance.Base.GetProp(NLDPB.ActorProp.Exp).ToString();
|
||||
Text_ExMax.text = maxLevel.Exp.ToString();
|
||||
|
||||
|
||||
diamondItem.currencyID = GLConfig.Inst.data.DiamondItemId;
|
||||
coinItem.currencyID = GLConfig.Inst.data.GoldItemId;
|
||||
Text_PPNow.text = Actor.Instance.Item.GetItemCount(GLConfig.Inst.data.EnergyPointID).ToString();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using Gameplay.Common;
|
||||
using Framework;
|
||||
using Gameplay.Common;
|
||||
using Gameplay.Net;
|
||||
|
||||
namespace Gameplay
|
||||
|
|
@ -9,5 +10,9 @@ namespace Gameplay
|
|||
{
|
||||
return Actor.Instance.Item.GetItemCount(id);
|
||||
}
|
||||
public static string GetItemName(int id)
|
||||
{
|
||||
return CommonUtils.GetLocalizeText(TableManager.Instance.Tables.Item.Get(id).NameLocal);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue