This commit is contained in:
parent
b547494e1c
commit
ffbe30fcd6
File diff suppressed because it is too large
Load Diff
|
|
@ -1,6 +1,6 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d370db84f4a61774e86043bde60cc60e
|
||||
DefaultImporter:
|
||||
guid: 2d8a002bb58cd3c468d0943e8a56e5fc
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
|
@ -203,9 +203,9 @@ RectTransform:
|
|||
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: 33.8503, y: 37.619}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: -13.900024, y: 0}
|
||||
m_SizeDelta: {x: 33.85028, y: 0}
|
||||
m_Pivot: {x: 0, y: 0.5}
|
||||
--- !u!222 &4393350400899337071
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f387a6b1faf7760499396bd0bc9d2a0f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8374b93723115b64c99d8d5cb7e41885
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -0,0 +1,719 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &495702922750851519
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 238614481399684381}
|
||||
- component: {fileID: 4954429176788340784}
|
||||
- component: {fileID: 6136485033564748909}
|
||||
m_Layer: 5
|
||||
m_Name: "\u7528\u6237\u540D"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &238614481399684381
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 495702922750851519}
|
||||
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: 583632108165222775}
|
||||
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: 100, y: 1.1901855}
|
||||
m_SizeDelta: {x: 117.6586, y: 50}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!222 &4954429176788340784
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 495702922750851519}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &6136485033564748909
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 495702922750851519}
|
||||
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: xs01
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 3cee325aec3da104caa0494ae88f026d, type: 2}
|
||||
m_sharedMaterial: {fileID: 1716905042458031195, guid: 3cee325aec3da104caa0494ae88f026d, 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: 36
|
||||
m_fontSizeBase: 36
|
||||
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 &1402802699785783086
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8404470364145622164}
|
||||
- component: {fileID: 7754738795087642781}
|
||||
m_Layer: 5
|
||||
m_Name: UI_TopTitlePanel
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8404470364145622164
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1402802699785783086}
|
||||
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: 4499122912846823943}
|
||||
- {fileID: 4377687358363293253}
|
||||
m_Father: {fileID: 0}
|
||||
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!114 &7754738795087642781
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1402802699785783086}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 87e81696e48c20448a178a82c9230737, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
AskBtn: {fileID: 0}
|
||||
NameText: {fileID: 0}
|
||||
--- !u!1 &1786888532938372474
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1112863054767904763}
|
||||
- component: {fileID: 3297490117420957805}
|
||||
- component: {fileID: 8734451930346137106}
|
||||
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 &1112863054767904763
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1786888532938372474}
|
||||
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: 4260632125344439941}
|
||||
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 &3297490117420957805
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1786888532938372474}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &8734451930346137106
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1786888532938372474}
|
||||
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: 29
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 10
|
||||
m_MaxSize: 50
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u95EE\u7B54"
|
||||
--- !u!1 &2551372885759091742
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 583632108165222775}
|
||||
- component: {fileID: 529983341008518891}
|
||||
- component: {fileID: 3037460880324554313}
|
||||
m_Layer: 5
|
||||
m_Name: "\u7528\u6237"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &583632108165222775
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2551372885759091742}
|
||||
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: 238614481399684381}
|
||||
m_Father: {fileID: 4377687358363293253}
|
||||
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: 111.5, y: 26}
|
||||
m_SizeDelta: {x: 74, y: 74}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!222 &529983341008518891
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2551372885759091742}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3037460880324554313
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2551372885759091742}
|
||||
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: 3d89975a8633182449138cae4ac7bd16, 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 &4499122912846823942
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4499122912846823943}
|
||||
- component: {fileID: 4499122912846823993}
|
||||
- component: {fileID: 4499122912846823992}
|
||||
m_Layer: 5
|
||||
m_Name: TopBg
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4499122912846823943
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4499122912846823942}
|
||||
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: 4499122913934929350}
|
||||
m_Father: {fileID: 8404470364145622164}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 100.5372}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &4499122912846823993
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4499122912846823942}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &4499122912846823992
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4499122912846823942}
|
||||
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: 36736684bcbebfc41b609e9cbd9afc3a, 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 &4499122913934929349
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4499122913934929350}
|
||||
- component: {fileID: 4499122913934929400}
|
||||
- component: {fileID: 4499122913934929351}
|
||||
m_Layer: 5
|
||||
m_Name: Text (TMP)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4499122913934929350
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4499122913934929349}
|
||||
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: 4499122912846823943}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 100.54}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &4499122913934929400
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4499122913934929349}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &4499122913934929351
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4499122913934929349}
|
||||
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: "\u81EA\u63A7\u539F\u7406\u4EFF\u771F\u8F6F\u4EF6"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 3cee325aec3da104caa0494ae88f026d, type: 2}
|
||||
m_sharedMaterial: {fileID: 1716905042458031195, guid: 3cee325aec3da104caa0494ae88f026d, 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: 44.2
|
||||
m_fontSizeBase: 44.2
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 1
|
||||
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 &6477531639293015313
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4377687358363293253}
|
||||
m_Layer: 5
|
||||
m_Name: UpBg
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4377687358363293253
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6477531639293015313}
|
||||
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: 583632108165222775}
|
||||
- {fileID: 4260632125344439941}
|
||||
m_Father: {fileID: 8404470364145622164}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!1 &7669693957083806250
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4260632125344439941}
|
||||
- component: {fileID: 8506850147581141538}
|
||||
- component: {fileID: 7593901256320499370}
|
||||
- component: {fileID: 6868690621229947072}
|
||||
m_Layer: 5
|
||||
m_Name: "\u95EE\u7B54\u6309\u94AE"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!224 &4260632125344439941
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7669693957083806250}
|
||||
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: 1112863054767904763}
|
||||
m_Father: {fileID: 4377687358363293253}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: -701.65466, y: 18.0203}
|
||||
m_SizeDelta: {x: 79.6544, y: 81.9797}
|
||||
m_Pivot: {x: 1, y: 0}
|
||||
--- !u!222 &8506850147581141538
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7669693957083806250}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &7593901256320499370
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7669693957083806250}
|
||||
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 &6868690621229947072
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7669693957083806250}
|
||||
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: 7593901256320499370}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bf77e73c43a86b340ae5ae26e258eb18
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -123,7 +123,7 @@ NavMeshSettings:
|
|||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &317928181
|
||||
--- !u!1 &550137943
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
|
|
@ -131,41 +131,41 @@ GameObject:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 317928183}
|
||||
- component: {fileID: 317928182}
|
||||
- component: {fileID: 550137945}
|
||||
- component: {fileID: 550137944}
|
||||
m_Layer: 0
|
||||
m_Name: LoginManager
|
||||
m_Name: RepairSenderManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!114 &317928182
|
||||
m_IsActive: 1
|
||||
--- !u!114 &550137944
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 317928181}
|
||||
m_GameObject: {fileID: 550137943}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3f64b12db8fedbf42821abef0b3bcb9c, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: 579a5280096a77745840ca65c0ce19ce, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &317928183
|
||||
--- !u!4 &550137945
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 317928181}
|
||||
m_GameObject: {fileID: 550137943}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -0.9087037, y: -0.45048326, z: -13.805974}
|
||||
m_LocalPosition: {x: 1682.5754, y: 762.50024, z: 7.8574996}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &960966153
|
||||
GameObject:
|
||||
|
|
@ -295,3 +295,52 @@ Transform:
|
|||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1435305958
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1435305960}
|
||||
- component: {fileID: 1435305959}
|
||||
m_Layer: 0
|
||||
m_Name: LoginManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1435305959
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1435305958}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3f64b12db8fedbf42821abef0b3bcb9c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
loginRespons:
|
||||
msg:
|
||||
state:
|
||||
userId: 0
|
||||
token:
|
||||
--- !u!4 &1435305960
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1435305958}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -0.9087037, y: -0.45048326, z: -13.805974}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2e606ab58a3bfd1428520b381795a874
|
||||
guid: a1205a0cad4de644a93bee1684c1e597
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
|
@ -24,6 +24,10 @@ public class Bootstrap : SingletonMono<Bootstrap>
|
|||
scenesManager.LoadSceneAsyn(this, "LoginScene", () =>
|
||||
{
|
||||
Debug.Log("加载场景成功");
|
||||
uiManager.ShowPanel<UI_LoginPanel>(this, E_UI_Layer.System, (panel) =>
|
||||
{
|
||||
Debug.Log("加载场景成功");
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,27 +1,52 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Networking;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
/// <summary>
|
||||
/// 登录
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class LoginResponse
|
||||
{
|
||||
public string msg;
|
||||
public string state;
|
||||
public int userId;
|
||||
public string token;
|
||||
public string message;
|
||||
public Data data=new Data();
|
||||
}
|
||||
public class LoginManager : MonoBehaviour
|
||||
|
||||
public class Data
|
||||
{
|
||||
public static LoginManager Instance;
|
||||
|
||||
public LoginScene loginScene;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string user_id { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string login_name { get; set; }
|
||||
/// <summary>
|
||||
/// 1#学生
|
||||
/// </summary>
|
||||
public string real_name { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string role_code { get; set; }
|
||||
/// <summary>
|
||||
/// 学生
|
||||
/// </summary>
|
||||
public string role_name { get; set; }
|
||||
}
|
||||
public class LoginManager : SingletonMono<LoginManager>
|
||||
{
|
||||
//[FormerlySerializedAs("loginScene")]
|
||||
//public UI_LoginPanel uiLoginPanel;
|
||||
//public string loginIP = "http://172.16.1.254";
|
||||
|
||||
void Awake()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
public LoginResponse loginRespons;
|
||||
public System.Action OnLoginSuccess;
|
||||
public void Login(string account, string password)
|
||||
{
|
||||
|
|
@ -47,10 +72,9 @@ public class LoginManager : MonoBehaviour
|
|||
|
||||
string json = webRequest.downloadHandler.text;
|
||||
Debug.Log("服务器返回:" + json);
|
||||
|
||||
|
||||
LoginResponse resp = JsonUtility.FromJson<LoginResponse>(json);
|
||||
if (resp.state == "true")
|
||||
loginRespons = JsonConvert.DeserializeObject<LoginResponse>(json);
|
||||
if (loginRespons.state == "true")
|
||||
{
|
||||
Debug.Log("登录成功,准备回调");
|
||||
Debug.Log("账号密码正确登录成功");
|
||||
|
|
@ -58,8 +82,8 @@ public class LoginManager : MonoBehaviour
|
|||
}
|
||||
else
|
||||
{
|
||||
loginScene.ShowTip("登录失败,用户名或密码错误!");
|
||||
Debug.LogWarning("登录失败:" + resp.msg);
|
||||
UI_LoginPanel.instance.ShowTip("登录失败,用户名或密码错误!");
|
||||
Debug.LogWarning("登录失败:" + loginRespons.state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,49 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Networking;
|
||||
/// <summary>
|
||||
/// 学生提问
|
||||
/// </summary>
|
||||
public class RepairSenderManager : SingletonMono<RepairSenderManager>
|
||||
{
|
||||
private string url = "http://172.16.1.254:13030/Handler/Repair.ashx?action=add";
|
||||
|
||||
// 点击提交按钮调用
|
||||
public void OnClickSend(TMP_InputField inputContent)
|
||||
{
|
||||
string content = inputContent.text;
|
||||
|
||||
if (string.IsNullOrEmpty(content))
|
||||
{
|
||||
Debug.Log("请输入内容!");
|
||||
return;
|
||||
}
|
||||
|
||||
StartCoroutine(SendRepair("学生咨询", content)); // 标题固定
|
||||
}
|
||||
|
||||
IEnumerator SendRepair(string title, string content)
|
||||
{
|
||||
WWWForm form = new WWWForm();
|
||||
form.AddField("action", "add");
|
||||
form.AddField("RepairName", title);
|
||||
form.AddField("RepairContent", content);
|
||||
form.AddField("user_id", LoginManager.Instance.loginRespons.data.user_id);
|
||||
|
||||
UnityWebRequest request = UnityWebRequest.Post(url, form);
|
||||
|
||||
// 发送请求
|
||||
yield return request.SendWebRequest();
|
||||
|
||||
if (request.result == UnityWebRequest.Result.Success)
|
||||
{
|
||||
Debug.Log("发送成功!后端返回:" + request.downloadHandler.text);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("发送失败:" + request.error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 579a5280096a77745840ca65c0ce19ce
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -9,6 +9,7 @@ public class SubjectToggle : BaseItem, IPointerEnterHandler, IPointerExitHandler
|
|||
{
|
||||
public Toggle Toggle_Subject;
|
||||
public UI_ChooesPanel ChooesPanel;
|
||||
public UI_TopTitlePanel TopTitlePanel;
|
||||
//public Image targetimage; //
|
||||
public bool isIPointer; //ÊÇ·ñ·ÅÉÏÈ¥
|
||||
// Start is called before the first frame update
|
||||
|
|
@ -20,13 +21,22 @@ public class SubjectToggle : BaseItem, IPointerEnterHandler, IPointerExitHandler
|
|||
switch (transform.name)
|
||||
{
|
||||
case "Subject1":
|
||||
Bootstrap.Instance.uiManager.HidePanel<UI_TopTitlePanel>();
|
||||
Bootstrap.Instance.uiManager.ShowPanel<UI_LoadingPanel>(this, E_UI_Layer.System, (panel) =>
|
||||
{
|
||||
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.UpdateProgress, 0.5f);
|
||||
Bootstrap.Instance.scenesManager.LoadSceneAsyn(this, "Line", () =>
|
||||
Bootstrap.Instance.scenesManager.LoadSceneAsyn(this, "xianchang-TSQ", () =>
|
||||
{
|
||||
Debug.Log("加载场景成功");
|
||||
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.UpdateProgress, 2f);
|
||||
Bootstrap.Instance.uiManager.ShowPanel<UI_TopTitlePanel>(this, E_UI_Layer.Top, (panel) =>
|
||||
{
|
||||
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.UpdateProgress, 0.5f);
|
||||
Bootstrap.Instance.scenesManager.LoadSceneAsyn(this, "xianchang-TSQ", () =>
|
||||
{
|
||||
Bootstrap.Instance.uiManager.HidePanel<UI_ChooesPanel>();
|
||||
Debug.Log("¼ÓÔØ³¡¾°³É¹¦");
|
||||
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.UpdateProgress, 2f);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1,297 +0,0 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 9
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 0
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.12731749, g: 0.13414757, b: 0.1210787, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 12
|
||||
m_GIWorkflowMode: 1
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_FinalGather: 0
|
||||
m_FinalGatherFiltering: 1
|
||||
m_FinalGatherRayCount: 256
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 500
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 500
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 2
|
||||
m_PVRDenoiserTypeDirect: 0
|
||||
m_PVRDenoiserTypeIndirect: 0
|
||||
m_PVRDenoiserTypeAO: 0
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 0
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 2
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
accuratePlacement: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &317928181
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 317928183}
|
||||
- component: {fileID: 317928182}
|
||||
m_Layer: 0
|
||||
m_Name: LoginManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!114 &317928182
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 317928181}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3f64b12db8fedbf42821abef0b3bcb9c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &317928183
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 317928181}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -0.9087037, y: -0.45048326, z: -13.805974}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &960966153
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 960966155}
|
||||
- component: {fileID: 960966154}
|
||||
m_Layer: 0
|
||||
m_Name: Bootstrap
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &960966154
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 960966153}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a55fdffbd83184f458c8f861d4276768, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &960966155
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 960966153}
|
||||
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: 0}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &963194225
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 963194228}
|
||||
- component: {fileID: 963194227}
|
||||
- component: {fileID: 963194226}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!81 &963194226
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 963194225}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &963194227
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 963194225}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_FocalLength: 50
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 5
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &963194228
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 963194225}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
@ -5,8 +5,9 @@ using TMPro;
|
|||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class LoginScene : BasePanel
|
||||
public class UI_LoginPanel : BasePanel
|
||||
{
|
||||
public static UI_LoginPanel instance;
|
||||
public TextMeshProUGUI dayText; //日期文本
|
||||
public TextMeshProUGUI TimeText; //时间文本
|
||||
|
||||
|
|
@ -18,6 +19,7 @@ public class LoginScene : BasePanel
|
|||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
instance = this;
|
||||
OnInit();
|
||||
}
|
||||
|
||||
|
|
@ -54,20 +56,24 @@ public class LoginScene : BasePanel
|
|||
{
|
||||
case "登录按钮":
|
||||
Debug.Log("登录");
|
||||
|
||||
string account = inputAccount.text;
|
||||
string password = inputPassword.text;
|
||||
|
||||
// 设置登录成功后的回调
|
||||
LoginManager.Instance.OnLoginSuccess = () =>
|
||||
{
|
||||
Debug.LogError("??? 回调被执行了!开始切换场景!???");
|
||||
Debug.Log("登录验证成功,开始切换场景...");
|
||||
Bootstrap.Instance.scenesManager.LoadSceneAsyn(
|
||||
this,
|
||||
"ChooesSubjectScene",
|
||||
() =>
|
||||
Bootstrap.Instance.scenesManager.LoadSceneAsyn(this, "ChooesSubjectScene", () =>
|
||||
{
|
||||
Debug.Log("场景加载成功");
|
||||
Bootstrap.Instance.uiManager.ShowPanel<UI_ChooesPanel>(this, E_UI_Layer.Mid, (panel) =>
|
||||
{
|
||||
Bootstrap.Instance.uiManager.ShowPanel<UI_TopTitlePanel>(this, E_UI_Layer.Top, (panel) =>
|
||||
{
|
||||
Bootstrap.Instance.uiManager.HidePanel<UI_LoginPanel>();
|
||||
Debug.Log("³¡¾°¼ÓÔØ³É¹¦");
|
||||
});
|
||||
});
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
using DG.Tweening;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class UI_TeacherStudentPanel : BasePanel
|
||||
{
|
||||
public Button LeftBtn; //左侧大按钮
|
||||
public Button CloseBtn; //关闭按钮
|
||||
public TMP_InputField AskInputField; //提问框
|
||||
|
||||
public Button CommentBtn; //提交评论按钮
|
||||
private CanvasGroup canvasGroup ; //
|
||||
private GameObject Player;
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
OnInit();
|
||||
}
|
||||
|
||||
public void OnInit()
|
||||
{
|
||||
LeftBtn = GetControl<Button>("左侧大按钮");
|
||||
CloseBtn = GetControl<Button>("关闭按钮");
|
||||
AskInputField = GetControl<TMP_InputField>("提问框");
|
||||
CommentBtn = GetControl<Button>("评论按钮");
|
||||
canvasGroup = GetComponent<CanvasGroup>();
|
||||
canvasGroup.alpha = 0f; // 默认隐藏
|
||||
canvasGroup.interactable = false;
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
Player=GameObject.FindGameObjectWithTag("Player");
|
||||
}
|
||||
|
||||
public override void ShowMe()
|
||||
{
|
||||
base.ShowMe();
|
||||
FadeIn(0.5f);
|
||||
}
|
||||
|
||||
public override void HideMe()
|
||||
{
|
||||
base.HideMe();
|
||||
FadeOut(0.5f);
|
||||
}
|
||||
protected override void OnClick(string btnPath)
|
||||
{
|
||||
|
||||
base.OnClick(btnPath);
|
||||
switch (btnPath)
|
||||
{
|
||||
case "左侧大按钮":
|
||||
FadeOut(0.5f);
|
||||
Player.GetComponent<FirstPersonController>().enabled = true;
|
||||
break;
|
||||
case "关闭按钮":
|
||||
FadeOut(0.5f);
|
||||
Player.GetComponent<FirstPersonController>().enabled = true;
|
||||
break;
|
||||
case "评论按钮":
|
||||
Comment();
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 提问渐显
|
||||
/// </summary>
|
||||
public void FadeIn(float time)
|
||||
{
|
||||
canvasGroup.DOFade(1f, time);
|
||||
canvasGroup.interactable = true;
|
||||
canvasGroup.blocksRaycasts = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 提问渐隐
|
||||
/// </summary>
|
||||
public void FadeOut(float time)
|
||||
{
|
||||
canvasGroup.DOFade(0f, time);
|
||||
canvasGroup.interactable = false;
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 点击评论
|
||||
/// </summary>
|
||||
public void Comment()
|
||||
{
|
||||
//将问题提交后台
|
||||
RepairSenderManager.Instance.OnClickSend(AskInputField);
|
||||
AskInputField.text = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a396d258c64cc1c4c83e068362b44924
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class UI_TopTitlePanel : BasePanel
|
||||
{
|
||||
public Button AskBtn; //问答按钮
|
||||
public TextMeshProUGUI NameText; //用户名
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
OnInit();
|
||||
}
|
||||
|
||||
public void OnInit()
|
||||
{
|
||||
AskBtn = GetControl<Button>("问答按钮");
|
||||
NameText = GetControl<TextMeshProUGUI>("用户名");
|
||||
}
|
||||
|
||||
public override void ShowMe()
|
||||
{
|
||||
base.ShowMe();
|
||||
Scene currentScene = SceneManager.GetActiveScene();
|
||||
if (currentScene.name == "xianchang-TSQ")
|
||||
{
|
||||
AskBtn.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
public override void HideMe()
|
||||
{
|
||||
base.HideMe();
|
||||
}
|
||||
|
||||
protected override void OnClick(string btnPath)
|
||||
{
|
||||
base.OnClick(btnPath);
|
||||
switch (btnPath)
|
||||
{
|
||||
case "问答按钮":
|
||||
Bootstrap.Instance.uiManager.ShowPanel<UI_TeacherStudentPanel>(this, E_UI_Layer.Mid,
|
||||
(panel) =>
|
||||
{
|
||||
Debug.Log("问答面板显示");
|
||||
GameObject Player=GameObject.FindGameObjectWithTag("Player");
|
||||
Player.GetComponent<FirstPersonController>().enabled = false;
|
||||
|
||||
});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 87e81696e48c20448a178a82c9230737
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -46,8 +46,8 @@
|
|||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.18467971682548524,
|
||||
"wireColorB": 0.12615692615509034,
|
||||
"wireColorG": 0.18467941880226136,
|
||||
"wireColorB": 0.12615662813186646,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
|
|
@ -104,8 +104,8 @@
|
|||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.18467971682548524,
|
||||
"wireColorB": 0.12615692615509034,
|
||||
"wireColorG": 0.18467941880226136,
|
||||
"wireColorB": 0.12615662813186646,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
|
|
@ -162,8 +162,8 @@
|
|||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.18467971682548524,
|
||||
"wireColorB": 0.12615692615509034,
|
||||
"wireColorG": 0.18467941880226136,
|
||||
"wireColorB": 0.12615662813186646,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
|
|
@ -220,8 +220,8 @@
|
|||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.18467971682548524,
|
||||
"wireColorB": 0.12615692615509034,
|
||||
"wireColorG": 0.18467941880226136,
|
||||
"wireColorB": 0.12615662813186646,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
|
|
@ -278,8 +278,414 @@
|
|||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.18467974662780763,
|
||||
"wireColorB": 0.12615695595741273,
|
||||
"wireColorG": 0.18467944860458375,
|
||||
"wireColorB": 0.12615665793418885,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
"startPointColorR": 0.7830188274383545,
|
||||
"startPointColorG": 0.7830188274383545,
|
||||
"startPointColorB": 0.7830188274383545,
|
||||
"endPointColorR": 0.7830188274383545,
|
||||
"endPointColorG": 0.7830188274383545,
|
||||
"endPointColorB": 0.7830188274383545
|
||||
},
|
||||
{
|
||||
"startInterfaceName": "",
|
||||
"endInterfaceName": "",
|
||||
"startConnectionPointPosition": {
|
||||
"x": -1.382118821144104,
|
||||
"y": -0.26208674907684328,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"endConnectionPointPosition": {
|
||||
"x": -1.378318190574646,
|
||||
"y": -0.2723008692264557,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"startPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"endPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"wireName": "Wire_20251127142128",
|
||||
"cylinderScale": {
|
||||
"x": 0.0020000000949949028,
|
||||
"y": 0.005449152085930109,
|
||||
"z": 0.0020000000949949028
|
||||
},
|
||||
"cylinderPosition": {
|
||||
"x": -1.380218505859375,
|
||||
"y": -0.2671937942504883,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"cylinderRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.9841801524162293,
|
||||
"w": -0.1771707981824875
|
||||
},
|
||||
"cylinderRadius": 0.0020000000949949028,
|
||||
"hasStartInterface": false,
|
||||
"hasEndInterface": false,
|
||||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.18467950820922852,
|
||||
"wireColorB": 0.12615671753883363,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
"startPointColorR": 0.7830188274383545,
|
||||
"startPointColorG": 0.7830188274383545,
|
||||
"startPointColorB": 0.7830188274383545,
|
||||
"endPointColorR": 0.7830188274383545,
|
||||
"endPointColorG": 0.7830188274383545,
|
||||
"endPointColorB": 0.7830188274383545
|
||||
},
|
||||
{
|
||||
"startInterfaceName": "",
|
||||
"endInterfaceName": "",
|
||||
"startConnectionPointPosition": {
|
||||
"x": -1.406347632408142,
|
||||
"y": -0.26232433319091799,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"endConnectionPointPosition": {
|
||||
"x": -1.382118821144104,
|
||||
"y": -0.2899879813194275,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"startPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"endPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"wireName": "Wire_20251127142132",
|
||||
"cylinderScale": {
|
||||
"x": 0.0020000000949949028,
|
||||
"y": 0.018386902287602426,
|
||||
"z": 0.0020000000949949028
|
||||
},
|
||||
"cylinderPosition": {
|
||||
"x": -1.394233226776123,
|
||||
"y": -0.27615615725517275,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"cylinderRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.9360194802284241,
|
||||
"w": -0.3519481420516968
|
||||
},
|
||||
"cylinderRadius": 0.0020000000949949028,
|
||||
"hasStartInterface": false,
|
||||
"hasEndInterface": false,
|
||||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.18467950820922852,
|
||||
"wireColorB": 0.12615671753883363,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
"startPointColorR": 0.7830188274383545,
|
||||
"startPointColorG": 0.7830188274383545,
|
||||
"startPointColorB": 0.7830188274383545,
|
||||
"endPointColorR": 0.7830188274383545,
|
||||
"endPointColorG": 0.7830188274383545,
|
||||
"endPointColorB": 0.7830188274383545
|
||||
},
|
||||
{
|
||||
"startInterfaceName": "",
|
||||
"endInterfaceName": "",
|
||||
"startConnectionPointPosition": {
|
||||
"x": -1.382118821144104,
|
||||
"y": -0.2899879813194275,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"endConnectionPointPosition": {
|
||||
"x": -1.406347632408142,
|
||||
"y": -0.2902255058288574,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"startPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"endPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"wireName": "Wire_20251127160701",
|
||||
"cylinderScale": {
|
||||
"x": 0.0020000000949949028,
|
||||
"y": 0.012114987708628178,
|
||||
"z": 0.0020000000949949028
|
||||
},
|
||||
"cylinderPosition": {
|
||||
"x": -1.394233226776123,
|
||||
"y": -0.29010674357414248,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"cylinderRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.7105641961097717,
|
||||
"w": 0.7036323547363281
|
||||
},
|
||||
"cylinderRadius": 0.0020000000949949028,
|
||||
"hasStartInterface": false,
|
||||
"hasEndInterface": false,
|
||||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.1846795380115509,
|
||||
"wireColorB": 0.126156747341156,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
"startPointColorR": 0.7830188274383545,
|
||||
"startPointColorG": 0.7830188274383545,
|
||||
"startPointColorB": 0.7830188274383545,
|
||||
"endPointColorR": 0.7830188274383545,
|
||||
"endPointColorG": 0.7830188274383545,
|
||||
"endPointColorB": 0.7830188274383545
|
||||
},
|
||||
{
|
||||
"startInterfaceName": "",
|
||||
"endInterfaceName": "",
|
||||
"startConnectionPointPosition": {
|
||||
"x": -1.406347632408142,
|
||||
"y": -0.3009912967681885,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"endConnectionPointPosition": {
|
||||
"x": -1.382118821144104,
|
||||
"y": -0.2899879813194275,
|
||||
"z": 0.09028154611587525
|
||||
},
|
||||
"startPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"endPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"wireName": "Wire_20251127160703",
|
||||
"cylinderScale": {
|
||||
"x": 0.0020000000949949028,
|
||||
"y": 0.013305151835083962,
|
||||
"z": 0.0020000000949949028
|
||||
},
|
||||
"cylinderPosition": {
|
||||
"x": -1.394233226776123,
|
||||
"y": -0.295489639043808,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"cylinderRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": -0.5415263772010803,
|
||||
"w": 0.8406837582588196
|
||||
},
|
||||
"cylinderRadius": 0.0020000000949949028,
|
||||
"hasStartInterface": false,
|
||||
"hasEndInterface": false,
|
||||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.1846795380115509,
|
||||
"wireColorB": 0.126156747341156,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
"startPointColorR": 0.7830188274383545,
|
||||
"startPointColorG": 0.7830188274383545,
|
||||
"startPointColorB": 0.7830188274383545,
|
||||
"endPointColorR": 0.7830188274383545,
|
||||
"endPointColorG": 0.7830188274383545,
|
||||
"endPointColorB": 0.7830188274383545
|
||||
},
|
||||
{
|
||||
"startInterfaceName": "",
|
||||
"endInterfaceName": "",
|
||||
"startConnectionPointPosition": {
|
||||
"x": -1.382118821144104,
|
||||
"y": -0.30075377225875857,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"endConnectionPointPosition": {
|
||||
"x": -1.406347632408142,
|
||||
"y": -0.2902255058288574,
|
||||
"z": 0.09028154611587525
|
||||
},
|
||||
"startPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"endPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"wireName": "Wire_20251127160710",
|
||||
"cylinderScale": {
|
||||
"x": 0.0020000000949949028,
|
||||
"y": 0.013208705931901932,
|
||||
"z": 0.0020000000949949028
|
||||
},
|
||||
"cylinderPosition": {
|
||||
"x": -1.394233226776123,
|
||||
"y": -0.295489639043808,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"cylinderRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.548390805721283,
|
||||
"w": 0.8362221717834473
|
||||
},
|
||||
"cylinderRadius": 0.0020000000949949028,
|
||||
"hasStartInterface": false,
|
||||
"hasEndInterface": false,
|
||||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.1846795380115509,
|
||||
"wireColorB": 0.126156747341156,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
"startPointColorR": 0.7830188274383545,
|
||||
"startPointColorG": 0.7830188274383545,
|
||||
"startPointColorB": 0.7830188274383545,
|
||||
"endPointColorR": 0.7830188274383545,
|
||||
"endPointColorG": 0.7830188274383545,
|
||||
"endPointColorB": 0.7830188274383545
|
||||
},
|
||||
{
|
||||
"startInterfaceName": "",
|
||||
"endInterfaceName": "",
|
||||
"startConnectionPointPosition": {
|
||||
"x": -1.382118821144104,
|
||||
"y": -0.31115466356277468,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"endConnectionPointPosition": {
|
||||
"x": -1.406347632408142,
|
||||
"y": -0.3113921880722046,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"startPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"endPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"wireName": "Wire_20251127160725",
|
||||
"cylinderScale": {
|
||||
"x": 0.0020000000949949028,
|
||||
"y": 0.012114987708628178,
|
||||
"z": 0.0020000000949949028
|
||||
},
|
||||
"cylinderPosition": {
|
||||
"x": -1.394233226776123,
|
||||
"y": -0.3112734258174896,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"cylinderRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.7105641961097717,
|
||||
"w": 0.7036323547363281
|
||||
},
|
||||
"cylinderRadius": 0.0020000000949949028,
|
||||
"hasStartInterface": false,
|
||||
"hasEndInterface": false,
|
||||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.1846795380115509,
|
||||
"wireColorB": 0.126156747341156,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
"startPointColorR": 0.7830188274383545,
|
||||
"startPointColorG": 0.7830188274383545,
|
||||
"startPointColorB": 0.7830188274383545,
|
||||
"endPointColorR": 0.7830188274383545,
|
||||
"endPointColorG": 0.7830188274383545,
|
||||
"endPointColorB": 0.7830188274383545
|
||||
},
|
||||
{
|
||||
"startInterfaceName": "",
|
||||
"endInterfaceName": "",
|
||||
"startConnectionPointPosition": {
|
||||
"x": -1.406347632408142,
|
||||
"y": -0.2516351342201233,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"endConnectionPointPosition": {
|
||||
"x": -1.3187440633773804,
|
||||
"y": -0.25326845049858096,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"startPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"endPoint": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"wireName": "Wire_20251127160735",
|
||||
"cylinderScale": {
|
||||
"x": 0.0020000000949949028,
|
||||
"y": 0.04380939528346062,
|
||||
"z": 0.0020000000949949028
|
||||
},
|
||||
"cylinderPosition": {
|
||||
"x": -1.3625458478927613,
|
||||
"y": -0.2524517774581909,
|
||||
"z": 0.08528154343366623
|
||||
},
|
||||
"cylinderRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": -0.7136670351028442,
|
||||
"w": 0.700485110282898
|
||||
},
|
||||
"cylinderRadius": 0.0020000000949949028,
|
||||
"hasStartInterface": false,
|
||||
"hasEndInterface": false,
|
||||
"debugInfo": "从 CylinderWireData 组件获取",
|
||||
"wireType": "CylinderWireData",
|
||||
"wireColorR": 0.5943396091461182,
|
||||
"wireColorG": 0.1846795380115509,
|
||||
"wireColorB": 0.126156747341156,
|
||||
"wireColorA": 1.0,
|
||||
"hasCustomColor": true,
|
||||
"connectionPointScale": 0.004999999888241291,
|
||||
|
|
@ -291,6 +697,6 @@
|
|||
"endPointColorB": 0.7830188274383545
|
||||
}
|
||||
],
|
||||
"wireCount": 5,
|
||||
"sceneName": "xianchang"
|
||||
"wireCount": 12,
|
||||
"sceneName": "xianchang-TSQ"
|
||||
}
|
||||
Loading…
Reference in New Issue