3.31中午提交

This commit is contained in:
taosuqi 2025-03-31 14:31:38 +08:00
parent cee51b0741
commit f6728e3ff8
13 changed files with 455 additions and 438 deletions

View File

@ -66,9 +66,7 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8971469460818694773}
- {fileID: 1996132898292255312}
m_Children: []
m_Father: {fileID: 7835042658044891768}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -130,7 +128,7 @@ GameObject:
- component: {fileID: 3241625504292418043}
- component: {fileID: 4703803716389869035}
m_Layer: 5
m_Name: Scroll View
m_Name: LeftScroll View
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@ -226,128 +224,6 @@ MonoBehaviour:
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
--- !u!1 &1649953483047936858
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8971469460818694773}
- component: {fileID: 3278582570677263612}
- component: {fileID: 4614820770054950852}
- component: {fileID: 7998341348407608971}
m_Layer: 5
m_Name: "1-\u7B2C\u4E00\u7AE0 \u7EEA\u8BBA"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8971469460818694773
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1649953483047936858}
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: 2806829777796465988}
m_Father: {fileID: 8640685201192089303}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 332.2804, y: 47.5487}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3278582570677263612
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1649953483047936858}
m_CullTransparentMesh: 1
--- !u!114 &4614820770054950852
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1649953483047936858}
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: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
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 &7998341348407608971
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1649953483047936858}
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: 4614820770054950852}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &2353602017288776855
GameObject:
m_ObjectHideFlags: 0
@ -733,86 +609,6 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &4580686609995741183
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2989340607557624076}
- component: {fileID: 8344711865547296371}
- component: {fileID: 717071327342463905}
m_Layer: 5
m_Name: Text (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2989340607557624076
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4580686609995741183}
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: 1996132898292255312}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8344711865547296371
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4580686609995741183}
m_CullTransparentMesh: 1
--- !u!114 &717071327342463905
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4580686609995741183}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "2-\u7B2C\u4E8C\u7AE0 \u917F\u9152\u9AD8\u7CB1\u7684\u79CD\u7C7B\u53CA\u5206\u7C7B"
--- !u!1 &4670666424960680132
GameObject:
m_ObjectHideFlags: 0
@ -892,86 +688,6 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_HorizontalFit: 2
m_VerticalFit: 2
--- !u!1 &5309160077953129576
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2806829777796465988}
- component: {fileID: 7845423108059557079}
- component: {fileID: 4947839899222333912}
m_Layer: 5
m_Name: Text (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2806829777796465988
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5309160077953129576}
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: 8971469460818694773}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7845423108059557079
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5309160077953129576}
m_CullTransparentMesh: 1
--- !u!114 &4947839899222333912
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5309160077953129576}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "1-\u7B2C\u4E00\u7AE0 \u7EEA\u8BBA"
--- !u!1 &6017930034823240235
GameObject:
m_ObjectHideFlags: 0
@ -1027,6 +743,8 @@ MonoBehaviour:
pptImagePrefab: {fileID: 811730081605563827, guid: c922c814582ffe84ab1b2282f33a4302, type: 3}
content: {fileID: 5924775712395334843}
scrollRect: {fileID: 5405110006091029057}
pptNameItem: {fileID: 8472236549777311203, guid: 3915c8cdf47de4644b7b9b80f8eed6a6, type: 3}
Left_content: {fileID: 8640685201192089303}
--- !u!1 &6034407814706705595
GameObject:
m_ObjectHideFlags: 0
@ -1095,10 +813,10 @@ MonoBehaviour:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 48
m_FontSize: 25
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MinSize: 2
m_MaxSize: 65
m_Alignment: 4
m_AlignByGeometry: 0
@ -1144,8 +862,8 @@ RectTransform:
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: -833, y: 417}
m_SizeDelta: {x: 160, y: 59.3212}
m_AnchoredPosition: {x: -835.8, y: 394.4265}
m_SizeDelta: {x: 140.5233, y: 50.4681}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6034407815697293958
CanvasRenderer:
@ -1315,7 +1033,7 @@ GameObject:
- component: {fileID: 4248169526837337975}
- component: {fileID: 5405110006091029057}
m_Layer: 5
m_Name: Scroll View (1)
m_Name: RightScroll View (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@ -1575,128 +1293,6 @@ MonoBehaviour:
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
--- !u!1 &8198811094237298319
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1996132898292255312}
- component: {fileID: 3958013104390602854}
- component: {fileID: 3007503176434020249}
- component: {fileID: 539527961037201771}
m_Layer: 5
m_Name: "2-\u7B2C\u4E8C\u7AE0 \u917F\u9152\u9AD8\u7CB1\u7684\u79CD\u7C7B\u53CA\u5206\u7C7B"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1996132898292255312
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8198811094237298319}
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: 2989340607557624076}
m_Father: {fileID: 8640685201192089303}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 332.2804, y: 47.5487}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3958013104390602854
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8198811094237298319}
m_CullTransparentMesh: 1
--- !u!114 &3007503176434020249
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8198811094237298319}
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: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
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 &539527961037201771
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8198811094237298319}
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: 3007503176434020249}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &8403739053701851402
GameObject:
m_ObjectHideFlags: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fdeda1d23cba121458dd7301ae552a7e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: db481adb24841eb48b68ff2b83f24b1c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,266 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1326787275199277400
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8651985481412058503}
- component: {fileID: 6146315412872255409}
- component: {fileID: 8472236549777311203}
m_Layer: 5
m_Name: UI_TipsForPracticePanelPPTNameItem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8651985481412058503
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1326787275199277400}
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: 3390216101752654120}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 332.2804, y: 47.5487}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6146315412872255409
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1326787275199277400}
m_CullTransparentMesh: 1
--- !u!114 &8472236549777311203
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1326787275199277400}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fa52110514259ff429afd33176fb1fd6, type: 3}
m_Name:
m_EditorClassIdentifier:
PPTName_Text: {fileID: 7661249884054674550}
PPTName_Btn: {fileID: 1252808349457885455}
practicePanel: {fileID: 496968027908146855, guid: a79f76ed790bcad449a7a0fd9c989e16, type: 3}
--- !u!1 &6642924404271898664
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5394735997975410395}
- component: {fileID: 1184421987693779364}
- component: {fileID: 7661249884054674550}
m_Layer: 5
m_Name: Text (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5394735997975410395
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6642924404271898664}
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: 3390216101752654120}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1184421987693779364
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6642924404271898664}
m_CullTransparentMesh: 1
--- !u!114 &7661249884054674550
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6642924404271898664}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 15
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 1
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: xxxxxxxxxx
--- !u!1 &8964491055796309564
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3390216101752654120}
- component: {fileID: 2754021107426956110}
- component: {fileID: 6368369733015823146}
- component: {fileID: 1252808349457885455}
m_Layer: 5
m_Name: PPT_Btn
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3390216101752654120
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8964491055796309564}
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: 5394735997975410395}
m_Father: {fileID: 8651985481412058503}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2754021107426956110
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8964491055796309564}
m_CullTransparentMesh: 1
--- !u!114 &6368369733015823146
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8964491055796309564}
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: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
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 &1252808349457885455
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8964491055796309564}
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: 6368369733015823146}
m_OnClick:
m_PersistentCalls:
m_Calls: []

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3915c8cdf47de4644b7b9b80f8eed6a6
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -21,7 +21,7 @@ public class Bootstrap : SingletonMono<Bootstrap>
scenesManager = new ScenesManager();
pptFolderName = Application.streamingAssetsPath + "/PPT";
LoadPPTTest.PPTFiles(pptFolderName);
ppts = LoadPPTTest.PPTName();
ppts =LoadPPTTest.PPTName();
//await LoadWithUniTask();
DontDestroyOnLoad(gameObject);
@ -73,10 +73,4 @@ public class Bootstrap : SingletonMono<Bootstrap>
// eventCenter.EventTrigger(Enum_EventType.TestEvent1);
//}
}
//public async UniTaskVoid LoadWithUniTask(string pptpictuer)
//{
// List<Texture2D> textures = await LoadPPTTest.LoadPPTItemsAsync("myPPT");
//}
}

View File

@ -6,6 +6,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.UI;
@ -113,6 +114,48 @@ public class LoadPPTTest
return texture2Ds;
}
// 逐个加载每个PPT文件
/// <summary>
/// 分割ppt路径名称
/// </summary>
/// <param name="pptname"></param>
public static string PathName(string pptname)
{
if (string.IsNullOrEmpty(pptname))
{
Debug.LogError("路径不能为空!");
return null;
}
string standardizedPath = pptname.Replace('\\', '/');
// 获取无扩展名的文件名
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(standardizedPath);
Debug.Log("文件名: " + fileNameWithoutExtension);
return fileNameWithoutExtension;
}
/// <summary>
/// 从文件名中提取开头的数字(如 "1-第一章" -> 返回 1
/// </summary>
public static int ExtractLeadingNumber(string fileName)
{
if (string.IsNullOrEmpty(fileName)) return 0;
// 找到第一个数字序列
var numStr = new string(fileName.TakeWhile(char.IsDigit).ToArray());
return int.TryParse(numStr, out int num) ? num : 0;
}
/// <summary>
/// 刷新右侧的滑动条
/// </summary>
/// <returns></returns>
public static async UniTask RefreshScrollView(RectTransform content, ScrollRect scrollRect)
{
await UniTask.Delay(1);
LayoutRebuilder.ForceRebuildLayoutImmediate(content as RectTransform);
scrollRect.verticalNormalizedPosition = 1; // 回到顶部
}
}
//public class LoadPPTTest : MonoBehaviour

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 37986ea2c6d21104cb46c68e6d18c0ea
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,48 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_TipsForPracticePanelPPTNameItem : BaseItem
{
/// <summary>
/// ×ó²àpptÃû×Ö
/// </summary>
public Text PPTName_Text;
/// <summary>
/// ×ÔÉí°´Å¥
/// </summary>
public Button PPTName_Btn;
public UI_TipsForPracticePanel practicePanel;
/// <summary>
/// ³õʼ»¯
/// </summary>
/// <param name="LabelDate"></param>
public void Init(string LabelDate)
{
PPTName_Text.text = LabelDate;
}
//protected override void OnClick(string btnName)
//{
// switch (btnName)
// {
// case "333":
// default:
// break;
// }
//}
//public void RoadPPT(string btnName)
//{
// List<Texture2D> textures = LoadPPTTest.LoadPPTItems(btnName);
// if (textures != null)
// {
// practicePanel.DisplayPPT(textures);
// StartCoroutine(practicePanel.RefreshScrollView());
// }
//}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fa52110514259ff429afd33176fb1fd6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,18 +1,50 @@
using Cysharp.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
public class UI_TipsForPracticePanel : BasePanel
{
public GameObject pptImagePrefab;
public Transform content;
public RectTransform content;
public ScrollRect scrollRect;
//public ScrollRect leftscrollRect;
public UI_TipsForPracticePanelPPTNameItem pptNameItem;
public RectTransform Left_content;
protected override void Awake()
{
// 1. 提取文件名并解析数字前缀
var sortedItems = Bootstrap.Instance.ppts
.Select(path => new {
Path = path,
Name = LoadPPTTest.PathName(path),
Order = LoadPPTTest.ExtractLeadingNumber(LoadPPTTest.PathName(path)) // 提取数字
})
.OrderBy(item => item.Order) // 按数字排序
.ToList();
// 2. 生成排序后的按钮
foreach (var item in sortedItems)
{
var buttonItem = Instantiate(pptNameItem, Left_content);
buttonItem.Init(item.Name);
buttonItem.PPTName_Btn.gameObject.name = item.Name;
Debug.Log($"已创建按钮: {item.Name} (排序键: {item.Order})");
}
base.Awake();
//pptConfig = JsonManager.LoadData<PPTConfig>("pptConfig");
if (Bootstrap.Instance.ppts == null || Bootstrap.Instance.ppts.Length == 0)
{
Debug.LogError("PPT路径数组未初始化或为空");
return;
}
}
public override void ShowMe()
{
@ -23,7 +55,7 @@ public class UI_TipsForPracticePanel : BasePanel
base.HideMe();
}
protected override void OnClick(string btnName)
protected override async void OnClick(string btnName)
{
Debug.Log(btnName);
switch (btnName)
@ -33,9 +65,7 @@ public class UI_TipsForPracticePanel : BasePanel
{
Debug.Log(".1");
Bootstrap.Instance.uiManager.HidePanel<UI_TipsForPracticePanel>();
StartCoroutine(RefreshScrollView());
});
//Bootstrap.Instance.uiManager.HidePanel<UI_TipsForPracticePanel>();
break;
default:
@ -44,9 +74,9 @@ public class UI_TipsForPracticePanel : BasePanel
{
DisplayPPT(textures);
}
StartCoroutine(RefreshScrollView());
break;
}
await LoadPPTTest.RefreshScrollView(content, scrollRect);
}
private void DisplayPPT(List<Texture2D> textures)
{
@ -64,14 +94,5 @@ public class UI_TipsForPracticePanel : BasePanel
}
}
/// <summary>
/// 刷新右侧的滑动条
/// </summary>
/// <returns></returns>
IEnumerator RefreshScrollView()
{
yield return null; // 等待一帧
LayoutRebuilder.ForceRebuildLayoutImmediate(content as RectTransform);
scrollRect.verticalNormalizedPosition = 1; // 回到顶部
}
}

View File

@ -9,9 +9,15 @@ EditorBuildSettings:
path: Assets/Scenes/Init.unity
guid: 9fc0d4010bbf28b4594072e72b8655ab
- enabled: 1
path: Assets/Scenes/TestScene.unity
path: "Assets/Scenes/\u5B9E\u64CD\u8003\u6838.unity"
guid: 4e2c55ee46fa8d2459c2f30c97ccf553
- enabled: 1
path: Assets/Scenes/TestScene1.unity
guid: e805b33f7cd608f4d8f843b5e7be28e7
- enabled: 1
path: "Assets/Scenes/\u7406\u8BBA\u5B66\u4E60.unity"
guid: 37d899cece6e6a44a9eca3211bd8b650
- enabled: 1
path: Assets/Scenes/LiveScene.unity
guid: c5657c66ac4ef86498dbf017698e4385
m_configObjects: {}

View File

@ -162,7 +162,8 @@ PlayerSettings:
resetResolutionOnWindowResize: 0
androidSupportedAspectRatio: 1
androidMaxAspectRatio: 2.1
applicationIdentifier: {}
applicationIdentifier:
Standalone: com.DefaultCompany.TestCodeStructure
buildNumber:
Standalone: 0
iPhone: 0
@ -815,7 +816,7 @@ PlayerSettings:
luminVersion:
m_VersionCode: 1
m_VersionName:
apiCompatibilityLevel: 6
apiCompatibilityLevel: 3
activeInputHandler: 0
windowsGamepadBackendHint: 0
cloudProjectId: