This commit is contained in:
parent
e7b24fd916
commit
f135b25cdb
Binary file not shown.
After Width: | Height: | Size: 428 KiB |
|
@ -0,0 +1,122 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 06c5dfa3e980b3d4e893a0bf4484fe72
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -8715,7 +8715,7 @@ RectTransform:
|
|||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -0.00000061838796}
|
||||
m_SizeDelta: {x: 0, y: 5601.948}
|
||||
m_SizeDelta: {x: 0, y: 4853.841}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &543358353178453204
|
||||
MonoBehaviour:
|
||||
|
@ -8737,7 +8737,7 @@ MonoBehaviour:
|
|||
m_ChildAlignment: 0
|
||||
m_Spacing: 20
|
||||
m_ChildForceExpandWidth: 1
|
||||
m_ChildForceExpandHeight: 1
|
||||
m_ChildForceExpandHeight: 0
|
||||
m_ChildControlWidth: 0
|
||||
m_ChildControlHeight: 0
|
||||
m_ChildScaleWidth: 0
|
||||
|
@ -40500,7 +40500,7 @@ MonoBehaviour:
|
|||
m_HandleRect: {fileID: 543358353056407910}
|
||||
m_Direction: 2
|
||||
m_Value: 1
|
||||
m_Size: 0.11281789
|
||||
m_Size: 0.13020617
|
||||
m_NumberOfSteps: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
|
|
|
@ -7335,7 +7335,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &2133940359952029220
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -9265,11 +9265,11 @@ MonoBehaviour:
|
|||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1.5
|
||||
m_Text: "\uFF082\uFF09\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u5F62\u5F0F\u53D1\u9001\u7684\uFF0C\u7531\u6536\u4EF6\u4EBA\u6536\u5230\u4E4B\u65E5\u4E3A\u5176\u6709\u6548\u9001\u8FBE\u4E4B\u65E5\uFF1B\r\n\uFF083\uFF09\u901A\u8FC7\u4F20\u771F\u5F62\u5F0F\u53D1\u9001\u7684\uFF0C\u53D1\u51FA\u5E76\u6536\u5230\u53D1\u9001\u6210\u529F\u786E\u8BA4\u51FD\u4E4B\u65E5\u4E3A\u5176\u6709\u6548\u9001\u8FBE\u4E4B\u65E5\u3002\r\n43.2\u5982\u679C\u6309\u7167\u4E0A\u8FF0\u539F\u5219\u786E\u5B9A\u7684\u6709\u6548\u9001\u8FBE\u65E5\u5728\u6536\u4EF6\u4EBA\u6240\u5728\u5730\u4E0D\u5C5E\u4E8E\u5DE5\u4F5C\u65E5\u7684\uFF0C\u5219\u5F53\u5730\u6536\u8BAB\u65E5\u540E\u7684\u7B2C\u4E00\u4E2A\u5DE5\u4F5C\u65E5\u4E3A\u8BE5\u901A\u77E5\u6216\u540C\u610F\u7684\u6709\u6548\u9001\u8FBE\u65E5\u3002\r\n43.3\u4EFB\u4F55\u4E00\u65B9\u5747\u5E94\u6309\u672C\u5408\u540C\u7EA6\u5B9A\uFF0C\u5411\u53E6\u4E00\u65B9\u53D1\u51FA\u901A\u77E5\uFF0C\u53D8\u66F4\u5176\u63A5\u6536\u5730\u5740\u3001\u7535\u5B50\u90AE\u7BB1\u6216\u4F20\u771F\u53F7\u7801\u3002\u5982\u53D8\u66F4\u672A\u901A\u77E5\u53E6\u4E00\u65B9\uFF0C\u5BFC\u81F4\u53D1\u51FA\u7684\u6240\u6709\u901A\u77E5\u53CA\u540C\u610F\u88AB\u9000\u56DE\u6216\u62D2\u6536\u7684\uFF0C\u9000\u56DE\u6216\u62D2\u6536\u4E4B\u65E5\u4E3A\u6709\u6548\u9001\u8FBE\u4E4B\u65E5\u3002\r\n43.4\u5404\u65B9\u63A5\u6536\u6240\u6709\u8BE5\u7B49\u901A\u77E5\u53CA\u540C\u610F\u7684\u5730\u5740\u3001\u4F20\u771F\u53F7\u7801\u548C\u7535\u5B50\u90AE\u7BB1\u5730\u5740\u5982\u4E0B\uFF1A\r\n\u4F9B\u7535\u4EBA\u5730\u5740\uFF1A
|
||||
\uFF0C \u4F20\u771F\uFF1A \uFF0C
|
||||
\u7535\u5B50\u90AE\u7BB1\uFF1A \uFF1B\r\n\u7528\u7535\u4EBA\u5730\u5740\uFF1A
|
||||
\uFF0C \u4F20\u771F\uFF1A \uFF0C
|
||||
\u7535\u5B50\u90AE\u7BB1\uFF1A \u3002\r\n44.\u6587\u672C\u548C\u9644\u4EF6\r\n44.1\u672C\u5408\u540C\u4E00\u5F0F
|
||||
m_Text: "\uFF082\uFF09\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u5F62\u5F0F\u53D1\u9001\u7684\uFF0C\u7531\u6536\u4EF6\u4EBA\u6536\u5230\u4E4B\u65E5\u4E3A\u5176\u6709\u6548\u9001\u8FBE\u4E4B\u65E5\uFF1B\r\n\uFF083\uFF09\u901A\u8FC7\u4F20\u771F\u5F62\u5F0F\u53D1\u9001\u7684\uFF0C\u53D1\u51FA\u5E76\u6536\u5230\u53D1\u9001\u6210\u529F\u786E\u8BA4\u51FD\u4E4B\u65E5\u4E3A\u5176\u6709\u6548\u9001\u8FBE\u4E4B\u65E5\u3002\r\n43.2\u5982\u679C\u6309\u7167\u4E0A\u8FF0\u539F\u5219\u786E\u5B9A\u7684\u6709\u6548\u9001\u8FBE\u65E5\u5728\u6536\u4EF6\u4EBA\u6240\u5728\u5730\u4E0D\u5C5E\u4E8E\u5DE5\u4F5C\u65E5\u7684\uFF0C\u5219\u5F53\u5730\u6536\u8BAB\u65E5\u540E\u7684\u7B2C\u4E00\u4E2A\u5DE5\u4F5C\u65E5\u4E3A\u8BE5\u901A\u77E5\u6216\u540C\u610F\u7684\u6709\u6548\u9001\u8FBE\u65E5\u3002\r\n43.3\u4EFB\u4F55\u4E00\u65B9\u5747\u5E94\u6309\u672C\u5408\u540C\u7EA6\u5B9A\uFF0C\u5411\u53E6\u4E00\u65B9\u53D1\u51FA\u901A\u77E5\uFF0C\u53D8\u66F4\u5176\u63A5\u6536\u5730\u5740\u3001\u7535\u5B50\u90AE\u7BB1\u6216\u4F20\u771F\u53F7\u7801\u3002\u5982\u53D8\u66F4\u672A\u901A\u77E5\u53E6\u4E00\u65B9\uFF0C\u5BFC\u81F4\u53D1\u51FA\u7684\u6240\u6709\u901A\u77E5\u53CA\u540C\u610F\u88AB\u9000\u56DE\u6216\u62D2\u6536\u7684\uFF0C\u9000\u56DE\u6216\u62D2\u6536\u4E4B\u65E5\u4E3A\u6709\u6548\u9001\u8FBE\u4E4B\u65E5\u3002\r\n43.4\u5404\u65B9\u63A5\u6536\u6240\u6709\u8BE5\u7B49\u901A\u77E5\u53CA\u540C\u610F\u7684\u5730\u5740\u3001\u4F20\u771F\u53F7\u7801\u548C\u7535\u5B50\u90AE\u7BB1\u5730\u5740\u5982\u4E0B\uFF1A\r\n\u4F9B\u7535\u4EBA\u5730\u5740\uFF1A
|
||||
\uFF0C \u4F20\u771F\uFF1A \uFF0C\u7535\u5B50\u90AE\u7BB1\uFF1A
|
||||
\uFF1B\r\n\u7528\u7535\u4EBA\u5730\u5740\uFF1A \uFF0C
|
||||
\u4F20\u771F\uFF1A \uFF0C\u7535\u5B50\u90AE\u7BB1\uFF1A
|
||||
\u3002\r\n44.\u6587\u672C\u548C\u9644\u4EF6\r\n44.1\u672C\u5408\u540C\u4E00\u5F0F
|
||||
\u4EFD\uFF0C\u4F9B\u7535\u4EBA\u6301 \u4EFD\uFF0C\u7528\u7535\u4EBA\u6301
|
||||
\u4EFD\uFF0C\u5177\u6709\u540C\u7B49\u6CD5\u5F8B\u6548\u529B\u3002\r\n44.2\u53CC\u65B9\u6309\u4F9B\u7528\u7535\u4E1A\u52A1\u6D41\u7A0B\u6240\u5F62\u6210\u7684\u7533\u8BF7\u3001\u6279\u590D\u7B49\u4E66\u9762\u8D44\u6599\u5747\u4F5C\u4E3A\u672C\u5408\u540C\u9644\u4EF6\uFF0C\u4E0E\u5408\u540C\u6B63\u6587\u5177"
|
||||
--- !u!1 &2133940359994148678
|
||||
|
@ -18402,7 +18402,7 @@ 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: -97.514, y: -162}
|
||||
m_AnchoredPosition: {x: -26, y: -162}
|
||||
m_SizeDelta: {x: 195.03, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2133940360175918031
|
||||
|
@ -55102,7 +55102,7 @@ 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: -97.514, y: -109}
|
||||
m_AnchoredPosition: {x: -28, y: -109}
|
||||
m_SizeDelta: {x: 195.03, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2133940360905932772
|
||||
|
@ -72813,9 +72813,9 @@ MonoBehaviour:
|
|||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1.5
|
||||
m_Text: "\u538B\u4F9B\u7528\u7535\u5408\u540C\u300B38.4\uFF081\uFF09\u6B3E\u7EA6\u5B9A\u6807\u51C6\u5411\u7528\u7535\u4EBA\u8BA1\u6536\u7535\u8D39\u8FDD\u7EA6\u91D1\u3002\u8FDD\u7EA6\u91D1\u81EA\u903E\u671F\u4E4B\u65E5\u8D77\u8BA1\u7B97\u81F3\u4EA4\u8D39\u4E4B\u65E5\u6B62\uFF0C\u903E\u671F\u65E5\u671F\u81EA\u53CC\u65B9\u7EA6\u5B9A\u7684\u7F34\u8D39\u65E5\u671F\u8D77\u8BA1\u7B97\u3002\r\n\u56DB\u3001\u7528\u7535\u4EBA\u5BF9\u7528\u7535\u8BA1\u91CF\u3001\u7535\u8D39\u6709\u5F02\u8BAE\u65F6\uFF0C\u5148\u4EA4\u6E05\u7535\u8D39\uFF0C\u7136\u540E\u53CC\u65B9\u534F\u5546\u89E3\u51B3\u3002\u534F\u5546\u4E0D\u6210\u65F6\uFF0C\u53EF\u8BF7\u6C42\u7535\u529B\u7BA1\u7406\u90E8\u95E8\u8C03\u89E3\u3002\u8C03\u89E3\u4E0D\u6210\u65F6\uFF0C\u53CC\u65B9\u53EF\u6839\u636E\u300A\u9AD8\u538B\u4F9B\u7528\u7535\u5408\u540C\u300B\u4E2D\u7EA6\u5B9A\u65B9\u5F0F\u89E3\u51B3\u4E89\u8BAE\u3002\r\n\u4E94\u3001\u4F9B\u3001\u7528\u7535\u53CC\u65B9\u5982\u53D8\u66F4\u6237\u540D\u3001\u94F6\u884C\u8D26\u53F7\uFF0C\u5E94\u53CA\u65F6\u4E66\u9762\u901A\u77E5\u5BF9\u65B9\u3002\u5982\u7528\u7535\u4EBA\u672A\u53CA\u65F6\u901A\u77E5\u4F9B\u7535\u4EBA\uFF0C\u9020\u6210\u672A\u6309\u65F6\u4EA4\u4ED8\u7535\u8D39\u65F6\uFF0C\u4F9B\u7535\u4EBA\u6309\u672C\u534F\u8BAE\u7B2C\u4E09\u6761\u5904\u7406\u3002\r\n\u516D\u3001\u672C\u534F\u8BAE\u81EA\u4F9B\u7535\u4EBA\u3001\u7528\u7535\u4EBA\u7B7E\u5B57\u6216\u76D6\u7AE0\uFF0C\u5E76\u52A0\u76D6\u5408\u540C\u4E13\u7528\u7AE0\u6216\u516C\u7AE0\u540E\u6210\u7ACB\u3002\u534F\u8BAE\u6709\u6548\u671F\u4E3A\n
|
||||
\u5E74\uFF0C \u81EA
|
||||
\u8D77\u81F3 \u6B62\u3002\u534F\u8BAE\u6709\u6548\u671F\u5C4A\u6EE1\uFF0C\u53CC\u65B9\u5747\u672A\u63D0\u51FA\u4E66\u9762\u5F02\u8BAE\u7684\uFF0C\u7EE7\u7EED\u5C65\u884C\uFF0C\u6709\u6548\u671F\u6309\u672C\u534F\u8BAE\u6709\u6548\u671F\u9650\u91CD\u590D\u7EED\u5C55\u3002\r\n\u4E03\u3001\u672C\u534F\u8BAE\u4E00\u5F0F\u4E24\u4EFD\uFF0C\u4F5C\u4E3A\u300A\u9AD8\u538B\u4F9B\u7528\u7535\u5408\u540C\u300B\u7684\u9644\u4EF6\u3002\u4F9B\u7535\u4EBA\u3001\u7528\u7535\u4EBA\u5404\u6267\u4E00\u4EFD\uFF0C\u5177\u6709\u540C\u7B49\u6CD5\u5F8B\u6548\u529B\u3002\r\n\r\n\r\n\n"
|
||||
m_Text: "\u538B\u4F9B\u7528\u7535\u5408\u540C\u300B38.4\uFF081\uFF09\u6B3E\u7EA6\u5B9A\u6807\u51C6\u5411\u7528\u7535\u4EBA\u8BA1\u6536\u7535\u8D39\u8FDD\u7EA6\u91D1\u3002\u8FDD\u7EA6\u91D1\u81EA\u903E\u671F\u4E4B\u65E5\u8D77\u8BA1\u7B97\u81F3\u4EA4\u8D39\u4E4B\u65E5\u6B62\uFF0C\u903E\u671F\u65E5\u671F\u81EA\u53CC\u65B9\u7EA6\u5B9A\u7684\u7F34\u8D39\u65E5\u671F\u8D77\u8BA1\u7B97\u3002\r\n\u56DB\u3001\u7528\u7535\u4EBA\u5BF9\u7528\u7535\u8BA1\u91CF\u3001\u7535\u8D39\u6709\u5F02\u8BAE\u65F6\uFF0C\u5148\u4EA4\u6E05\u7535\u8D39\uFF0C\u7136\u540E\u53CC\u65B9\u534F\u5546\u89E3\u51B3\u3002\u534F\u5546\u4E0D\u6210\u65F6\uFF0C\u53EF\u8BF7\u6C42\u7535\u529B\u7BA1\u7406\u90E8\u95E8\u8C03\u89E3\u3002\u8C03\u89E3\u4E0D\u6210\u65F6\uFF0C\u53CC\u65B9\u53EF\u6839\u636E\u300A\u9AD8\u538B\u4F9B\u7528\u7535\u5408\u540C\u300B\u4E2D\u7EA6\u5B9A\u65B9\u5F0F\u89E3\u51B3\u4E89\u8BAE\u3002\r\n\u4E94\u3001\u4F9B\u3001\u7528\u7535\u53CC\u65B9\u5982\u53D8\u66F4\u6237\u540D\u3001\u94F6\u884C\u8D26\u53F7\uFF0C\u5E94\u53CA\u65F6\u4E66\u9762\u901A\u77E5\u5BF9\u65B9\u3002\u5982\u7528\u7535\u4EBA\u672A\u53CA\u65F6\u901A\u77E5\u4F9B\u7535\u4EBA\uFF0C\u9020\u6210\u672A\u6309\u65F6\u4EA4\u4ED8\u7535\u8D39\u65F6\uFF0C\u4F9B\u7535\u4EBA\u6309\u672C\u534F\u8BAE\u7B2C\u4E09\u6761\u5904\u7406\u3002\r\n\u516D\u3001\u672C\u534F\u8BAE\u81EA\u4F9B\u7535\u4EBA\u3001\u7528\u7535\u4EBA\u7B7E\u5B57\u6216\u76D6\u7AE0\uFF0C\u5E76\u52A0\u76D6\u5408\u540C\u4E13\u7528\u7AE0\u6216\u516C\u7AE0\u540E\u6210\u7ACB\u3002\u534F\u8BAE\u6709\u6548\u671F\u4E3A\n
|
||||
\uFF0C\u81EA \u8D77\u81F3
|
||||
\u6B62\u3002\u534F\u8BAE\u6709\u6548\u671F\u5C4A\u6EE1\uFF0C\u53CC\u65B9\u5747\u672A\u63D0\u51FA\u4E66\u9762\u5F02\u8BAE\u7684\uFF0C\u7EE7\u7EED\u5C65\u884C\uFF0C\u6709\u6548\u671F\u6309\u672C\u534F\u8BAE\u6709\u6548\u671F\u9650\u91CD\u590D\u7EED\u5C55\u3002\r\n\u4E03\u3001\u672C\u534F\u8BAE\u4E00\u5F0F\u4E24\u4EFD\uFF0C\u4F5C\u4E3A\u300A\u9AD8\u538B\u4F9B\u7528\u7535\u5408\u540C\u300B\u7684\u9644\u4EF6\u3002\u4F9B\u7535\u4EBA\u3001\u7528\u7535\u4EBA\u5404\u6267\u4E00\u4EFD\uFF0C\u5177\u6709\u540C\u7B49\u6CD5\u5F8B\u6548\u529B\u3002\n\r\n\n"
|
||||
--- !u!1 &2133940361270923507
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -74220,7 +74220,7 @@ 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: 218.11377, y: -109}
|
||||
m_AnchoredPosition: {x: 331.5, y: -109}
|
||||
m_SizeDelta: {x: 219.2574, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2133940361298286534
|
||||
|
@ -74447,8 +74447,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: 16.4604, y: -53}
|
||||
m_SizeDelta: {x: 204.5585, y: 44}
|
||||
m_AnchoredPosition: {x: 4.6351, y: -53}
|
||||
m_SizeDelta: {x: 301.8288, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2133940361301615055
|
||||
CanvasRenderer:
|
||||
|
@ -86924,8 +86924,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: 292, y: -53}
|
||||
m_SizeDelta: {x: 204.5585, y: 44}
|
||||
m_AnchoredPosition: {x: 348.7622, y: -53}
|
||||
m_SizeDelta: {x: 252.0829, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2133940361533820236
|
||||
CanvasRenderer:
|
||||
|
@ -95221,8 +95221,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: -407.32544, y: -53}
|
||||
m_SizeDelta: {x: 157.6376, y: 44}
|
||||
m_AnchoredPosition: {x: -348.84152, y: -53}
|
||||
m_SizeDelta: {x: 274.6055, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2133940361676950227
|
||||
CanvasRenderer:
|
||||
|
@ -109317,7 +109317,7 @@ 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: 218.11377, y: -163}
|
||||
m_AnchoredPosition: {x: 332, y: -163}
|
||||
m_SizeDelta: {x: 219.2574, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2133940361952202543
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -122,7 +122,7 @@ MonoBehaviour:
|
|||
m_HandleRect: {fileID: 3944125505492743376}
|
||||
m_Direction: 2
|
||||
m_Value: 1
|
||||
m_Size: 0.5406449
|
||||
m_Size: 0.56777155
|
||||
m_NumberOfSteps: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
|
@ -1859,7 +1859,7 @@ RectTransform:
|
|||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 1168.9744}
|
||||
m_SizeDelta: {x: 0, y: 1113.1238}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &3944125505685617613
|
||||
MonoBehaviour:
|
||||
|
@ -1881,7 +1881,7 @@ MonoBehaviour:
|
|||
m_ChildAlignment: 0
|
||||
m_Spacing: 20
|
||||
m_ChildForceExpandWidth: 1
|
||||
m_ChildForceExpandHeight: 1
|
||||
m_ChildForceExpandHeight: 0
|
||||
m_ChildControlWidth: 0
|
||||
m_ChildControlHeight: 0
|
||||
m_ChildScaleWidth: 0
|
||||
|
|
|
@ -1 +1 @@
|
|||
2024-04-29 13:35:53#'test://;gdht,0,31,1424050700011517,username,token,90,622,
|
||||
2024-07-19 09:29:21#'sxfz://;lyht,0,50,1424050700011517,username,token,60,-1,676,http://172.16.1.127:9206;'|
|
|
@ -415,7 +415,7 @@ Transform:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 286242094}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 767.54364, y: 594.1985, z: -3.3346052}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
|
|
|
@ -987,7 +987,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -102, y: -56}
|
||||
m_AnchoredPosition: {x: -233, y: -340}
|
||||
m_SizeDelta: {x: 110, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &318485094
|
||||
|
@ -1025,7 +1025,7 @@ 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: -165, y: 30}
|
||||
m_AnchoredPosition: {x: -223, y: 30}
|
||||
m_SizeDelta: {x: 160, y: 53.6218}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &318485096
|
||||
|
@ -2294,7 +2294,7 @@ 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: -208, y: -102}
|
||||
m_AnchoredPosition: {x: -238, y: -102}
|
||||
m_SizeDelta: {x: 216, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &690785896
|
||||
|
@ -3863,7 +3863,7 @@ 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: 0, y: 30}
|
||||
m_AnchoredPosition: {x: -39, y: 30}
|
||||
m_SizeDelta: {x: 160, y: 53.621}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1094595479
|
||||
|
@ -4161,8 +4161,8 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 45, y: -64}
|
||||
m_SizeDelta: {x: -910, y: -228}
|
||||
m_AnchoredPosition: {x: 139.66821, y: 25}
|
||||
m_SizeDelta: {x: -720.6635, y: -50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1156477364
|
||||
MonoBehaviour:
|
||||
|
@ -4397,7 +4397,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0.000011920929, y: -168}
|
||||
m_AnchoredPosition: {x: -82, y: -339}
|
||||
m_SizeDelta: {x: 699.3319, y: 114.7522}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1178436090
|
||||
|
@ -4558,7 +4558,7 @@ 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: 160, y: -364}
|
||||
m_AnchoredPosition: {x: 47, y: -364}
|
||||
m_SizeDelta: {x: 216, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1185375494
|
||||
|
@ -4747,7 +4747,7 @@ 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: -89, y: -364}
|
||||
m_AnchoredPosition: {x: -207, y: -364}
|
||||
m_SizeDelta: {x: 216, y: 44}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1281302399
|
||||
|
@ -6392,7 +6392,7 @@ 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: 146.54517, y: -104.184456}
|
||||
m_AnchoredPosition: {x: 107, y: -104.184456}
|
||||
m_SizeDelta: {x: 453.0903, y: 60.5688}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1848842471
|
||||
|
@ -7508,7 +7508,7 @@ MonoBehaviour:
|
|||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_MatchWidthOrHeight: 1
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
|
|
|
@ -150,7 +150,7 @@ public class StepListItem
|
|||
/// 填写现场工作卡(通过下拉菜单来填写)
|
||||
/// </summary>
|
||||
public string testPoint;
|
||||
public int setScore;
|
||||
public float setScore;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
@ -184,6 +184,10 @@ public class Performancetestscore
|
|||
/// </summary>
|
||||
public int examClassId;
|
||||
/// <summary>
|
||||
/// 用时
|
||||
/// </summary>
|
||||
public int useTime;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public List<StepListItem> stepList = new List<StepListItem>();
|
||||
|
|
|
@ -104,7 +104,10 @@ public class Operationprocess : MonoBehaviour
|
|||
/// </summary>
|
||||
private void Practicescore1()
|
||||
{
|
||||
ScoreManager.Instance.AddScore(12.5f);
|
||||
if (typeofbreach.options[typeofbreach.value].text == "ÇÔµç")
|
||||
{
|
||||
ScoreManager.Instance.AddScore(12.5f);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -31,7 +31,7 @@ public class ReadLoginInfo : MonoBehaviour
|
|||
string path = Application.streamingAssetsPath + @"\start.ini";
|
||||
if (File.Exists(path))
|
||||
{
|
||||
File.WriteAllText(Application.streamingAssetsPath + "/start.ini", "1");
|
||||
File.WriteAllText(Application.streamingAssetsPath + @"\start.ini", "1");
|
||||
}
|
||||
time = DateTime.Now.ToString();
|
||||
PlayerPrefs.SetString("time", time);
|
||||
|
@ -53,10 +53,10 @@ public class ReadLoginInfo : MonoBehaviour
|
|||
Debug.Log(str);
|
||||
string[] data = str.Split(new char[] { ';' });
|
||||
string[] datas = data[1].Split(new char[] { ',' });
|
||||
if (0 < datas[8].Length)
|
||||
if (0 < datas[9].Length)
|
||||
{
|
||||
Debug.Log("½øÀ´ÁË");
|
||||
IpAddress = "http://" + datas[8];
|
||||
IpAddress = datas[9];
|
||||
Debug.Log(IpAddress);
|
||||
}
|
||||
if (datas[0] == "lyht")
|
||||
{
|
||||
|
@ -73,7 +73,7 @@ public class ReadLoginInfo : MonoBehaviour
|
|||
PlayerPrefs.SetString("UserId", datas[3]);
|
||||
PlayerPrefs.SetString("Name", datas[4]);
|
||||
PlayerPrefs.SetString("Time", datas[6]);
|
||||
PlayerPrefs.SetInt("calssID", int.Parse(datas[7]));
|
||||
PlayerPrefs.SetInt("calssID", int.Parse(datas[8]));
|
||||
mainselect.examinationbutton.onClick.Invoke();
|
||||
}
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ public class ReadLoginInfo : MonoBehaviour
|
|||
PlayerPrefs.SetString("UserId", datas[3]);
|
||||
PlayerPrefs.SetString("Name", datas[4]);
|
||||
PlayerPrefs.SetString("Time", datas[6]);
|
||||
PlayerPrefs.SetInt("calssID", int.Parse(datas[7]));
|
||||
PlayerPrefs.SetInt("calssID", int.Parse(datas[8]));
|
||||
mainselect.Electricityfeetest.onClick.Invoke();
|
||||
}
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ public class ReadLoginInfo : MonoBehaviour
|
|||
PlayerPrefs.SetString("UserId", datas[3]);
|
||||
PlayerPrefs.SetString("Name", datas[4]);
|
||||
PlayerPrefs.SetString("Time", datas[6]);
|
||||
PlayerPrefs.SetInt("calssID", int.Parse(datas[7]));
|
||||
PlayerPrefs.SetInt("calssID", int.Parse(datas[8]));
|
||||
mainselect.Powersupplytest.onClick.Invoke();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Serialization;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
||||
public class Signforpanl : MonoBehaviour
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -16,6 +15,10 @@ public class Signforpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button workpanelbtn;
|
||||
/// <summary>
|
||||
/// 跳转页面
|
||||
/// </summary>
|
||||
public Button Backtodo;
|
||||
/// <summary>
|
||||
/// 代办工单页面
|
||||
/// </summary>
|
||||
public RectTransform agencyworkorder;
|
||||
|
@ -112,6 +115,18 @@ public class Signforpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button inquirebuton;
|
||||
/// <summary>
|
||||
/// 提示输入姓名
|
||||
/// </summary>
|
||||
public Text Nametext;
|
||||
/// <summary>
|
||||
/// 关闭当前按钮
|
||||
/// </summary>
|
||||
public Button Offbutton1;
|
||||
/// <summary>
|
||||
/// 初始化不显示选项
|
||||
/// </summary>
|
||||
public ToggleGroup toggleGroup;
|
||||
/// <summary>
|
||||
/// 高亮选择
|
||||
/// </summary>
|
||||
public Toggle Toggle1, Toggle2, Toggle3, Toggle4, Toggle5;
|
||||
|
@ -128,6 +143,10 @@ public class Signforpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button verifybutton;
|
||||
/// <summary>
|
||||
/// 关闭按钮
|
||||
/// </summary>
|
||||
public Button Offbutton2;
|
||||
/// <summary>
|
||||
/// 第三步步骤显示
|
||||
/// </summary>
|
||||
public RectTransform thethirdsteppanl;
|
||||
|
@ -141,23 +160,65 @@ public class Signforpanl : MonoBehaviour
|
|||
init();
|
||||
verifybutton2.onClick.AddListener(() =>
|
||||
{
|
||||
inputname.text = " ";
|
||||
controlspanl2.gameObject.SetActive(false);
|
||||
controlspanl1.gameObject.SetActive(true);
|
||||
});
|
||||
inquirebuton.onClick.AddListener(() =>
|
||||
{
|
||||
if (inputname.text.Contains("ԭ"))
|
||||
if (inputname.text.Length > 0)
|
||||
{
|
||||
controlspanl2.gameObject.SetActive(false);
|
||||
controlspanl3.gameObject.SetActive(true);
|
||||
if (inputname.text.Contains("原"))
|
||||
{
|
||||
controlspanl2.gameObject.SetActive(false);
|
||||
controlspanl3.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
Nametext.text = "请输入正确姓名";
|
||||
_ = Namedata(Nametext);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Nametext.text = "请输入姓名";
|
||||
_ = Namedata(Nametext);
|
||||
}
|
||||
|
||||
});
|
||||
Offbutton1.onClick.AddListener(() =>
|
||||
{
|
||||
inputname.text = " ";
|
||||
controlspanl2.gameObject.SetActive(false);
|
||||
controlspanl1.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton2.onClick.AddListener(() =>
|
||||
{
|
||||
inputname.text = " ";
|
||||
controlspanl3.gameObject.SetActive(false);
|
||||
controlspanl2.gameObject.SetActive(true);
|
||||
});
|
||||
personneltoggle.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
nametext.text = "原嘉泽";
|
||||
zhednag.gameObject.SetActive(true);
|
||||
nametext.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
nametext.text = " ";
|
||||
zhednag.gameObject.SetActive(false);
|
||||
nametext.gameObject.SetActive(false);
|
||||
}
|
||||
});
|
||||
|
||||
verifybutton.onClick.AddListener(() =>
|
||||
{
|
||||
inputname.text = " ";
|
||||
controlspanl3.gameObject.SetActive(false);
|
||||
zhednag.gameObject.SetActive(true);
|
||||
nametext.gameObject.SetActive(true);
|
||||
//zhednag.gameObject.SetActive(true);
|
||||
//nametext.gameObject.SetActive(true);
|
||||
controlspanl1.gameObject.SetActive(true);
|
||||
});
|
||||
sendworkbutton.onClick.AddListener(Stepbystep);
|
||||
|
@ -167,6 +228,12 @@ public class Signforpanl : MonoBehaviour
|
|||
controlspanl1.gameObject.SetActive(true);
|
||||
});
|
||||
}
|
||||
private async Task<Text> Namedata(Text text)
|
||||
{
|
||||
await Task.Delay(1500);
|
||||
text.text = null;
|
||||
return text;
|
||||
}
|
||||
/// <summary>
|
||||
/// 初始化
|
||||
/// </summary>
|
||||
|
@ -195,10 +262,99 @@ public class Signforpanl : MonoBehaviour
|
|||
{
|
||||
Getpicture(revealtoggle2);
|
||||
});
|
||||
Backtodo.onClick.AddListener(() =>
|
||||
{
|
||||
workordernumber.gameObject.SetActive(false);
|
||||
incomingworkorder.gameObject.SetActive(true);
|
||||
});
|
||||
EquippingItems();
|
||||
CanceItems();
|
||||
EquippingItems2();
|
||||
Transmit();
|
||||
}
|
||||
/// <summary>
|
||||
/// 传递对饮选择的名字
|
||||
/// </summary>
|
||||
private void Transmit()
|
||||
{
|
||||
Toggle1.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
nametext.text = "黄峰";
|
||||
zhednag.gameObject.SetActive(true);
|
||||
nametext.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
nametext.text = "";
|
||||
zhednag.gameObject.SetActive(false);
|
||||
nametext.gameObject.SetActive(false);
|
||||
}
|
||||
});
|
||||
Toggle2.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
nametext.text = "王文强";
|
||||
zhednag.gameObject.SetActive(true);
|
||||
nametext.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
nametext.text = "";
|
||||
zhednag.gameObject.SetActive(false);
|
||||
nametext.gameObject.SetActive(false);
|
||||
}
|
||||
});
|
||||
Toggle3.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
nametext.text = "张健忠";
|
||||
zhednag.gameObject.SetActive(true);
|
||||
nametext.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
nametext.text = "";
|
||||
zhednag.gameObject.SetActive(false);
|
||||
nametext.gameObject.SetActive(false);
|
||||
}
|
||||
});
|
||||
Toggle4.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
nametext.text = "王健帮";
|
||||
zhednag.gameObject.SetActive(true);
|
||||
nametext.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
nametext.text = "";
|
||||
zhednag.gameObject.SetActive(false);
|
||||
nametext.gameObject.SetActive(false);
|
||||
}
|
||||
});
|
||||
Toggle5.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
nametext.text = "荆典兵";
|
||||
zhednag.gameObject.SetActive(true);
|
||||
nametext.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
nametext.text = "";
|
||||
zhednag.gameObject.SetActive(false);
|
||||
nametext.gameObject.SetActive(false);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 高亮图片选择
|
||||
/// </summary>
|
||||
|
@ -274,6 +430,7 @@ public class Signforpanl : MonoBehaviour
|
|||
{
|
||||
viewbutton.onClick.AddListener(() =>
|
||||
{
|
||||
toggleGroup.allowSwitchOff = true;
|
||||
controlspanl1.gameObject.SetActive(false);
|
||||
controlspanl2.gameObject.SetActive(true);
|
||||
});
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
@ -24,6 +25,10 @@ public class Stepeightpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button waittobedonebutton8;
|
||||
/// <summary>
|
||||
/// 待办工单
|
||||
/// </summary>
|
||||
public Button Backtodo;
|
||||
/// <summary>
|
||||
/// 页面2
|
||||
/// </summary>
|
||||
public RectTransform stepeightpanl2;
|
||||
|
@ -62,7 +67,7 @@ public class Stepeightpanl : MonoBehaviour
|
|||
/// <summary>
|
||||
/// 合同签收成功图片
|
||||
/// </summary>
|
||||
public Image signforimage8;
|
||||
public Text Signfortext;
|
||||
/// <summary>
|
||||
/// 页面4
|
||||
/// </summary>
|
||||
|
@ -78,14 +83,23 @@ public class Stepeightpanl : MonoBehaviour
|
|||
/// <summary>
|
||||
/// 归档按钮判断
|
||||
/// </summary>
|
||||
private bool archivsisp=true;
|
||||
|
||||
private bool archivsisp = true;
|
||||
/// <summary>
|
||||
/// 提交练习提醒
|
||||
/// </summary>
|
||||
public Text Completetext;
|
||||
|
||||
void Start()
|
||||
{
|
||||
waittobedonebutton8.onClick.AddListener(() =>
|
||||
{
|
||||
|
||||
|
||||
archivsisp = true;
|
||||
stepeightpanl1.gameObject.SetActive(false);
|
||||
stepeightpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
Backtodo.onClick.AddListener(() =>
|
||||
{
|
||||
archivsisp = true;
|
||||
stepeightpanl1.gameObject.SetActive(false);
|
||||
stepeightpanl2.gameObject.SetActive(true);
|
||||
|
@ -107,11 +121,18 @@ public class Stepeightpanl : MonoBehaviour
|
|||
signforbutton8.onClick.AddListener(() =>
|
||||
{
|
||||
signforisp = true;
|
||||
signforimage8.gameObject.SetActive(true);
|
||||
Invoke("Getpicture2", 1.5f);
|
||||
Signfortext.text = "签收成功";
|
||||
_ = Closeprompt(Signfortext);
|
||||
});
|
||||
archivistbutton.onClick.AddListener(() =>
|
||||
{
|
||||
if (ScoreManager.Instance.Subject == Subject.Performanceexercise ||
|
||||
ScoreManager.Instance.Subject == Subject.Electricchargeexercise ||
|
||||
ScoreManager.Instance.Subject == Subject.Aluminoelectricexercise)
|
||||
{
|
||||
Completetext.text = "练习已完成请提交练习";
|
||||
_ = Closeprompt(Completetext);
|
||||
}
|
||||
if (archivsisp)
|
||||
{
|
||||
Debug.Log("第八步判分");
|
||||
|
@ -128,7 +149,7 @@ public class Stepeightpanl : MonoBehaviour
|
|||
Debug.Log(ScoreManager.Instance.Score);
|
||||
archivsisp = false;
|
||||
}
|
||||
if (ScoreManager.Instance.Subject==Subject.Performanceexamination)
|
||||
if (ScoreManager.Instance.Subject == Subject.Performanceexamination)
|
||||
{
|
||||
whetherthandinpapersornot.gameObject.SetActive(true);
|
||||
}
|
||||
|
@ -150,7 +171,12 @@ public class Stepeightpanl : MonoBehaviour
|
|||
}
|
||||
ScoreManager.Instance.AddScore(7.5f);
|
||||
}
|
||||
|
||||
public async Task<Text> Closeprompt(Text text)
|
||||
{
|
||||
await Task.Delay(1500);
|
||||
text.text = null;
|
||||
return text;
|
||||
}
|
||||
/// <summary>
|
||||
/// 考试步骤得分
|
||||
/// </summary>
|
||||
|
@ -189,7 +215,7 @@ public class Stepeightpanl : MonoBehaviour
|
|||
});
|
||||
whetherthandinpapersornot.Submitbon(() =>
|
||||
{
|
||||
if (ScoreManager.Instance.Subject==Subject.Performanceexamination)
|
||||
if (ScoreManager.Instance.Subject == Subject.Performanceexamination)
|
||||
{
|
||||
Submit game1 = GameObject.Find("MianCanvas").GetComponent<Submit>();
|
||||
game1.Handinanexaminationpaper1();
|
||||
|
@ -197,10 +223,6 @@ public class Stepeightpanl : MonoBehaviour
|
|||
});
|
||||
}
|
||||
|
||||
public void Getpicture2()
|
||||
{
|
||||
signforimage8.gameObject.SetActive(false);
|
||||
}
|
||||
/// <summary>
|
||||
/// 显示图片
|
||||
/// </summary>
|
||||
|
@ -214,7 +236,7 @@ public class Stepeightpanl : MonoBehaviour
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
serialimage8.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.UI;
|
||||
|
@ -25,6 +26,10 @@ public class Stepfourpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button workorderbutton4;
|
||||
/// <summary>
|
||||
/// 待办工单按钮
|
||||
/// </summary>
|
||||
public Button Backtodo;
|
||||
/// <summary>
|
||||
/// 页面2
|
||||
/// </summary>
|
||||
public RectTransform stepfourpanl2;
|
||||
|
@ -59,7 +64,7 @@ public class Stepfourpanl : MonoBehaviour
|
|||
/// <summary>
|
||||
/// 签收成功图片
|
||||
/// </summary>
|
||||
public Image tipsiamge;
|
||||
public Text Signfortext;
|
||||
/// <summary>
|
||||
/// 页面3
|
||||
/// </summary>
|
||||
|
@ -120,6 +125,11 @@ public class Stepfourpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Text revealtext1, revealtext2, revealtext3, revealtext4;
|
||||
/// <summary>
|
||||
/// 控制初始化显示
|
||||
/// </summary>
|
||||
public ToggleGroup toggleGroup1;
|
||||
public ToggleGroup toggleGroup2;
|
||||
/// <summary>
|
||||
/// 勾选选择显示
|
||||
/// </summary>
|
||||
public Toggle selecttoggle3;
|
||||
|
@ -160,6 +170,10 @@ public class Stepfourpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button verifybutton8;
|
||||
/// <summary>
|
||||
/// 返回按钮
|
||||
/// </summary>
|
||||
public Button Offbutton1, Offbutton2, Offbutton3, Offbutton4, Offbutton5, Offbutton6, Offbutton7;
|
||||
/// <summary>
|
||||
/// 页面10
|
||||
/// </summary>
|
||||
public RectTransform stepfourpanl10;
|
||||
|
@ -187,14 +201,22 @@ public class Stepfourpanl : MonoBehaviour
|
|||
/// 发送按钮
|
||||
/// </summary>
|
||||
public Button sendbutton6;
|
||||
|
||||
/// <summary>
|
||||
/// 显示日期
|
||||
/// </summary>
|
||||
public Text Datatext;
|
||||
void Start()
|
||||
{
|
||||
Init();
|
||||
toggleGroup1.allowSwitchOff = true;
|
||||
toggleGroup2.allowSwitchOff = true;
|
||||
workorderbutton4.onClick.AddListener(() =>
|
||||
{
|
||||
|
||||
|
||||
|
||||
stepfourpanl1.gameObject.SetActive(false);
|
||||
stepfourpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
Backtodo.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl1.gameObject.SetActive(false);
|
||||
stepfourpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
|
@ -218,8 +240,8 @@ public class Stepfourpanl : MonoBehaviour
|
|||
{
|
||||
|
||||
signisp = true;
|
||||
tipsiamge.gameObject.SetActive(true);
|
||||
Invoke("Getreveal", 1.5f);
|
||||
Signfortext.text = "签收成功";
|
||||
_ = Clearaway(Signfortext);
|
||||
});
|
||||
refundbutton.onClick.AddListener(() =>
|
||||
{
|
||||
|
@ -318,6 +340,47 @@ public class Stepfourpanl : MonoBehaviour
|
|||
stepfourpanl11.gameObject.SetActive(false);
|
||||
});
|
||||
}
|
||||
|
||||
private void Init()
|
||||
{
|
||||
Offbutton1.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl4.gameObject.SetActive(false);
|
||||
stepfourpanl3.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton2.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl5.gameObject.SetActive(false);
|
||||
stepfourpanl4.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton3.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl6.gameObject.SetActive(false);
|
||||
stepfourpanl5.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton4.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl7.gameObject.SetActive(false);
|
||||
stepfourpanl6.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton5.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl8.gameObject.SetActive(false);
|
||||
stepfourpanl7.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton6.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl9.gameObject.SetActive(false);
|
||||
stepfourpanl8.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton7.onClick.AddListener(() =>
|
||||
{
|
||||
stepfourpanl10.gameObject.SetActive(false);
|
||||
stepfourpanl9.gameObject.SetActive(true);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 练习步骤得分
|
||||
/// </summary>
|
||||
|
@ -435,23 +498,41 @@ public class Stepfourpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
private void Comparedata()
|
||||
{
|
||||
DateTime datevalue1;
|
||||
DateTime datevalue2;
|
||||
if (DateTime.TryParseExact(inputdata1.text, dateFormats, null, System.Globalization.DateTimeStyles.None, out datevalue1) &&
|
||||
DateTime.TryParseExact(inputdata2.text, dateFormats, null, System.Globalization.DateTimeStyles.None, out datevalue2))
|
||||
if (inputdata1.text.Length >=1)
|
||||
{
|
||||
if (DateTime.Compare(DateTime.Parse(inputdata1.text), DateTime.Parse(inputdata2.text)) < 0)
|
||||
DateTime datevalue1;
|
||||
DateTime datevalue2;
|
||||
if (DateTime.TryParseExact(inputdata1.text, dateFormats, null, System.Globalization.DateTimeStyles.None, out datevalue1) &&
|
||||
DateTime.TryParseExact(inputdata2.text, dateFormats, null, System.Globalization.DateTimeStyles.None, out datevalue2))
|
||||
{
|
||||
stepfourpanl6.gameObject.SetActive(false);
|
||||
revealtext1.text = inputdata1.text;
|
||||
revealtext2.text = inputdata2.text;
|
||||
revealtext3.text = inputdata1.text;
|
||||
revealtext4.text = inputdata2.text;
|
||||
stepfourpanl7.gameObject.SetActive(true);
|
||||
if (DateTime.Compare(DateTime.Parse(inputdata1.text), DateTime.Parse(inputdata2.text)) < 0)
|
||||
{
|
||||
stepfourpanl6.gameObject.SetActive(false);
|
||||
revealtext1.text = inputdata1.text;
|
||||
revealtext2.text = inputdata2.text;
|
||||
revealtext3.text = inputdata1.text;
|
||||
revealtext4.text = inputdata2.text;
|
||||
stepfourpanl7.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
Datatext.text = "请输入正确格式的日期";
|
||||
_ = Clearaway(Datatext);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Datatext.text = "请输入有效日期";
|
||||
_ = Clearaway(Datatext);
|
||||
}
|
||||
}
|
||||
public async Task<Text> Clearaway(Text text)
|
||||
{
|
||||
await Task.Delay(1500);
|
||||
text.text = null;
|
||||
return text;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关闭提示
|
||||
/// </summary>
|
||||
|
@ -460,13 +541,6 @@ public class Stepfourpanl : MonoBehaviour
|
|||
promptpicture.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ¹Ø±ÕÌáʾ
|
||||
/// </summary>
|
||||
private void Getreveal()
|
||||
{
|
||||
tipsiamge.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 初始化显示面板方法
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
@ -19,6 +20,10 @@ public class Stepsevenpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button waittobedonebutton7;
|
||||
/// <summary>
|
||||
/// ´ý°ì¹¤µ¥
|
||||
/// </summary>
|
||||
public Button Backtodo;
|
||||
/// <summary>
|
||||
/// 页面2
|
||||
/// </summary>
|
||||
public RectTransform stepsevenpanl2;
|
||||
|
@ -57,7 +62,7 @@ public class Stepsevenpanl : MonoBehaviour
|
|||
/// <summary>
|
||||
/// 签收成功显示图片
|
||||
/// </summary>
|
||||
public Image signforimage7;
|
||||
public Text Signtext;
|
||||
/// <summary>
|
||||
/// 页面4
|
||||
/// </summary>
|
||||
|
@ -79,6 +84,11 @@ public class Stepsevenpanl : MonoBehaviour
|
|||
stepsevenpanl1.gameObject.SetActive(false);
|
||||
stepsevenpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
Backtodo.onClick.AddListener(() =>
|
||||
{
|
||||
stepsevenpanl1.gameObject.SetActive(false);
|
||||
stepsevenpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
inquirbutton7.onClick.AddListener(() =>
|
||||
{
|
||||
stepsevenpanl2.gameObject.SetActive(false);
|
||||
|
@ -96,8 +106,8 @@ public class Stepsevenpanl : MonoBehaviour
|
|||
signforbutton7.onClick.AddListener(() =>
|
||||
{
|
||||
singnisp = true;
|
||||
signforimage7.gameObject.SetActive(true);
|
||||
Invoke("Getpicture2", 1.5f);
|
||||
Signtext.text = "Ç©Êճɹ¦";
|
||||
_ = Singfordata(Signtext);
|
||||
});
|
||||
releasebutton.onClick.AddListener(() =>
|
||||
{
|
||||
|
@ -119,6 +129,12 @@ public class Stepsevenpanl : MonoBehaviour
|
|||
|
||||
});
|
||||
}
|
||||
private async Task<Text> Singfordata(Text text)
|
||||
{
|
||||
await Task.Delay(1500);
|
||||
text.text = null;
|
||||
return text;
|
||||
}
|
||||
/// <summary>
|
||||
/// 练习步骤得分
|
||||
/// </summary>
|
||||
|
@ -167,10 +183,6 @@ public class Stepsevenpanl : MonoBehaviour
|
|||
ScoreManager.Instance.Honourscores[6] = float.Parse(str);
|
||||
}
|
||||
|
||||
public void Getpicture2()
|
||||
{
|
||||
signforimage7.gameObject.SetActive(false);
|
||||
}
|
||||
/// <summary>
|
||||
/// 高亮图片
|
||||
/// </summary>
|
||||
|
|
|
@ -19,6 +19,10 @@ public class Stepsixpanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button waittobebutton6;
|
||||
/// <summary>
|
||||
/// 덤곗묏데
|
||||
/// </summary>
|
||||
public Button Backtodo;
|
||||
/// <summary>
|
||||
/// Ò³Ãæ2
|
||||
/// </summary>
|
||||
public RectTransform stepsixpanl2;
|
||||
|
@ -83,6 +87,11 @@ public class Stepsixpanl : MonoBehaviour
|
|||
stepsixpanl1.gameObject.SetActive(false);
|
||||
stepsixpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
Backtodo.onClick.AddListener(() =>
|
||||
{
|
||||
stepsixpanl1.gameObject.SetActive(false);
|
||||
stepsixpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
serialtoggle6.onValueChanged.AddListener(delegate
|
||||
{
|
||||
Gettoggle(serialtoggle6);
|
||||
|
|
|
@ -167,6 +167,9 @@ public class Submit : MonoBehaviour
|
|||
{
|
||||
get { return System.DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss"); }
|
||||
}
|
||||
private float startTime;
|
||||
private float elapsedTime;
|
||||
private bool isExamRunning = false;
|
||||
private void Awake()
|
||||
{
|
||||
Initialize();//初始化
|
||||
|
@ -216,6 +219,21 @@ public class Submit : MonoBehaviour
|
|||
timeRemaining = totalTime;
|
||||
Updatetiem();
|
||||
}
|
||||
startTime = Time.time;
|
||||
isExamRunning = true;
|
||||
|
||||
StartCoroutine(UpdateTimer());
|
||||
}
|
||||
IEnumerator UpdateTimer()
|
||||
{
|
||||
while (isExamRunning)
|
||||
{
|
||||
// 更新已经过的时间
|
||||
elapsedTime = Time.time - startTime;
|
||||
|
||||
// 每帧更新一次
|
||||
yield return null;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 90分钟倒计时
|
||||
|
@ -382,18 +400,20 @@ public class Submit : MonoBehaviour
|
|||
|
||||
private void Electricitybillaccountingsubmission()
|
||||
{
|
||||
Performancetestscore performancetestscore = new Performancetestscore();
|
||||
EndExam();
|
||||
string url = Submittheperformanceexam;
|
||||
Performancetestscore performancetestscore = new Performancetestscore();
|
||||
performancetestscore.userName = PlayerPrefs.GetString("Name");
|
||||
performancetestscore.userId = PlayerPrefs.GetString("UserId");
|
||||
performancetestscore.examId = PlayerPrefs.GetInt("Id");
|
||||
performancetestscore.examClassId = PlayerPrefs.GetInt("calssID");
|
||||
performancetestscore.useTime = int.Parse(elapsedTime.ToString("F0"));
|
||||
for (int i = 0; i < ScoreManager.Instance.Electricitytestscores.Count; i++)
|
||||
{
|
||||
StepListItem stepListItem = new StepListItem();
|
||||
stepListItem.stepName = ScoreManager.Instance.testcenters[i];
|
||||
stepListItem.testPoint = ScoreManager.Instance.Performancetestsites[i];
|
||||
stepListItem.setScore = int.Parse(ScoreManager.Instance.totalpoints[i]);
|
||||
stepListItem.setScore = float.Parse(ScoreManager.Instance.totalpoints[i]);
|
||||
stepListItem.score = ScoreManager.Instance.Electricitytestscores[i];
|
||||
Debug.Log(stepListItem.score);
|
||||
performancetestscore.stepList.Add(stepListItem);
|
||||
|
@ -423,20 +443,20 @@ public class Submit : MonoBehaviour
|
|||
/// </summary>
|
||||
private void Powersupplyuploadinterface()
|
||||
{
|
||||
Performancetestscore performancetestscore = new Performancetestscore();
|
||||
EndExam();
|
||||
string url = Submittheperformanceexam;
|
||||
Performancetestscore performancetestscore = new Performancetestscore();
|
||||
performancetestscore.userName = PlayerPrefs.GetString("Name");
|
||||
performancetestscore.userId = PlayerPrefs.GetString("UserId");
|
||||
Debug.Log(performancetestscore.userId);
|
||||
performancetestscore.examId = PlayerPrefs.GetInt("Id");
|
||||
performancetestscore.examClassId = PlayerPrefs.GetInt("calssID");
|
||||
performancetestscore.useTime = int.Parse(elapsedTime.ToString("F0"));
|
||||
for (int i = 0; i < ScoreManager.Instance.Powersupplytests.Count; i++)
|
||||
{
|
||||
StepListItem stepListItem = new StepListItem();
|
||||
stepListItem.stepName = ScoreManager.Instance.testcenters[i];
|
||||
stepListItem.testPoint = ScoreManager.Instance.Performancetestsites[i];
|
||||
stepListItem.setScore = int.Parse(ScoreManager.Instance.totalpoints[i]);
|
||||
stepListItem.setScore = int.Parse(ScoreManager.Instance.totalpoints[i]);
|
||||
stepListItem.setScore = float.Parse(ScoreManager.Instance.totalpoints[i]);
|
||||
stepListItem.score = ScoreManager.Instance.Powersupplytests[i];
|
||||
Debug.Log(stepListItem.score);
|
||||
performancetestscore.stepList.Add(stepListItem);
|
||||
|
@ -460,17 +480,20 @@ public class Submit : MonoBehaviour
|
|||
|
||||
private void Uploadscore()
|
||||
{
|
||||
Performancetestscore performancetestscore = new Performancetestscore();
|
||||
EndExam();
|
||||
string url = Submittheperformanceexam;
|
||||
Performancetestscore performancetestscore = new Performancetestscore();
|
||||
performancetestscore.userName = PlayerPrefs.GetString("Name");
|
||||
performancetestscore.userId = PlayerPrefs.GetString("UserId");
|
||||
performancetestscore.examId = PlayerPrefs.GetInt("Id");
|
||||
performancetestscore.examClassId = PlayerPrefs.GetInt("calssID");
|
||||
performancetestscore.useTime = int.Parse(elapsedTime.ToString("F0"));
|
||||
for (int i = 0; i < ScoreManager.Instance.Honourscores.Count; i++)
|
||||
{
|
||||
StepListItem stepListItem = new StepListItem();
|
||||
stepListItem.stepName = ScoreManager.Instance.testcenters[i];
|
||||
stepListItem.testPoint = ScoreManager.Instance.Performancetestsites[i];
|
||||
stepListItem.setScore = float.Parse(ScoreManager.Instance.totalpoints[i]);
|
||||
stepListItem.score = ScoreManager.Instance.Honourscores[i];
|
||||
Debug.Log(stepListItem.score);
|
||||
performancetestscore.stepList.Add(stepListItem);
|
||||
|
@ -479,6 +502,14 @@ public class Submit : MonoBehaviour
|
|||
Debug.Log(dataitem);
|
||||
StartCoroutine(PoststringByRaw(url, dataitem));
|
||||
}
|
||||
void EndExam()
|
||||
{
|
||||
// 停止计时
|
||||
isExamRunning = false;
|
||||
elapsedTime = Time.time - startTime;
|
||||
|
||||
Debug.Log("考试用时:" + elapsedTime.ToString("F0") + " 秒");
|
||||
}
|
||||
/// <summary>
|
||||
/// 履约合同返回初始化页面
|
||||
/// </summary>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Device;
|
||||
using UnityEngine.SocialPlatforms.Impl;
|
||||
|
@ -25,6 +26,10 @@ public class Thefifthstep : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button waittobedonebutton;
|
||||
/// <summary>
|
||||
/// ´ý°ì¹¤µ¥
|
||||
/// </summary>
|
||||
public Button Backtodo;
|
||||
/// <summary>
|
||||
/// 页面2
|
||||
/// </summary>
|
||||
public RectTransform thefifthsteppanl2;
|
||||
|
@ -63,7 +68,7 @@ public class Thefifthstep : MonoBehaviour
|
|||
/// <summary>
|
||||
/// 签收成功图片
|
||||
/// </summary>
|
||||
public Image signforimage5;
|
||||
public Text Signfortext;
|
||||
/// <summary>
|
||||
/// 页面4
|
||||
/// </summary>
|
||||
|
@ -76,7 +81,7 @@ public class Thefifthstep : MonoBehaviour
|
|||
/// 确认按钮
|
||||
/// </summary>
|
||||
public Button sendbutton55;
|
||||
|
||||
|
||||
void Start()
|
||||
{
|
||||
waittobedonebutton.onClick.AddListener(() =>
|
||||
|
@ -85,6 +90,11 @@ public class Thefifthstep : MonoBehaviour
|
|||
thefifthsteppanl1.gameObject.SetActive(false);
|
||||
thefifthsteppanl2.gameObject.SetActive(true);
|
||||
});
|
||||
Backtodo.onClick.AddListener(() =>
|
||||
{
|
||||
thefifthsteppanl1.gameObject.SetActive(false);
|
||||
thefifthsteppanl2.gameObject.SetActive(true);
|
||||
});
|
||||
viewbutton5.onClick.AddListener(() =>
|
||||
{
|
||||
thefifthsteppanl2.gameObject.SetActive(false);
|
||||
|
@ -103,8 +113,8 @@ public class Thefifthstep : MonoBehaviour
|
|||
signforbutton5.onClick.AddListener(() =>
|
||||
{
|
||||
singsisp = true;
|
||||
signforimage5.gameObject.SetActive(true);
|
||||
Invoke("Getreveal2", 1.5f);
|
||||
Signfortext.text = "Ç©Êճɹ¦";
|
||||
_= Signfordata(Signfortext);
|
||||
});
|
||||
sendbutton55.onClick.AddListener(() =>
|
||||
{
|
||||
|
@ -137,6 +147,12 @@ public class Thefifthstep : MonoBehaviour
|
|||
}
|
||||
});
|
||||
}
|
||||
public async Task<Text> Signfordata(Text text)
|
||||
{
|
||||
await Task.Delay(1500);
|
||||
text.text = null;
|
||||
return text;
|
||||
}
|
||||
/// <summary>
|
||||
/// 练习步骤得分
|
||||
/// </summary>
|
||||
|
@ -162,7 +178,7 @@ public class Thefifthstep : MonoBehaviour
|
|||
{
|
||||
float scroe = 0f;
|
||||
string str;
|
||||
if(serialtoggle.isOn)
|
||||
if (serialtoggle.isOn)
|
||||
{
|
||||
scroe += (float.Parse(ScoreManager.Instance.totalpoints[4]) * 0.2f);
|
||||
}
|
||||
|
@ -185,14 +201,6 @@ public class Thefifthstep : MonoBehaviour
|
|||
ScoreManager.Instance.Honourscores[4] = float.Parse(str);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关闭签收成功按钮
|
||||
/// </summary>
|
||||
private void Getreveal2()
|
||||
{
|
||||
signforimage5.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 图片显示高亮
|
||||
/// </summary>
|
||||
|
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Threading.Tasks;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
@ -29,6 +30,10 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button workorderviewbutton;
|
||||
/// <summary>
|
||||
/// 待办工单
|
||||
/// </summary>
|
||||
public Button Backtodo;
|
||||
/// <summary>
|
||||
/// 显示查询页面
|
||||
/// </summary>
|
||||
public RectTransform thirdoperationpanl2;
|
||||
|
@ -60,15 +65,11 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
/// 签收按钮
|
||||
/// </summary>
|
||||
public Button signforbutton;
|
||||
private bool ispsign = true;
|
||||
private bool ispsign = false;
|
||||
/// <summary>
|
||||
/// 显示签收成功按钮
|
||||
/// </summary>
|
||||
public Image signforimage;
|
||||
/// <summary>
|
||||
/// 用于判断签收之后不多次加分
|
||||
/// </summary>
|
||||
private bool signisp = true;
|
||||
public Text Signfortext;
|
||||
/// <summary>
|
||||
/// 有无违约页面
|
||||
/// </summary>
|
||||
|
@ -123,6 +124,10 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button verifybutton;
|
||||
/// <summary>
|
||||
/// 关闭按钮
|
||||
/// </summary>
|
||||
public Button Offbutton1, Offbutton2, Offbutton3;
|
||||
/// <summary>
|
||||
/// 页面9违约类型
|
||||
/// </summary>
|
||||
public RectTransform thirdoperationpanl9;
|
||||
|
@ -201,6 +206,10 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
/// </summary>
|
||||
public Button verifybutton5;
|
||||
/// <summary>
|
||||
/// 返回页面
|
||||
/// </summary>
|
||||
public Button Offbutton4;
|
||||
/// <summary>
|
||||
/// 页面14
|
||||
/// </summary>
|
||||
public RectTransform thirdoperationpanl14;
|
||||
|
@ -227,11 +236,17 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
private float thethirdstep6 = 0;
|
||||
void Start()
|
||||
{
|
||||
|
||||
workorderviewbutton.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl1.gameObject.SetActive(false);
|
||||
thirdoperationpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
Backtodo.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl1.gameObject.SetActive(false);
|
||||
thirdoperationpanl2.gameObject.SetActive(true);
|
||||
});
|
||||
viewbuton.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl2.gameObject.SetActive(false);
|
||||
|
@ -281,6 +296,21 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
thirdoperationpanl8.gameObject.SetActive(false);
|
||||
thirdoperationpanl9.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton1.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl6.gameObject.SetActive(false);
|
||||
thirdoperationpanl5.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton2.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl7.gameObject.SetActive(false);
|
||||
thirdoperationpanl6.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton3.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl8.gameObject.SetActive(false);
|
||||
thirdoperationpanl7.gameObject.SetActive(true);
|
||||
});
|
||||
glideinput1.onValueChanged.AddListener(delegate
|
||||
{
|
||||
Status(Enable.Getoutofline1);
|
||||
|
@ -313,6 +343,11 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
thirdoperationpanl13.gameObject.SetActive(false);
|
||||
thirdoperationpanl14.gameObject.SetActive(true);
|
||||
});
|
||||
Offbutton4.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl13.gameObject.SetActive(false);
|
||||
thirdoperationpanl12.gameObject.SetActive(true);
|
||||
});
|
||||
savebutton2.onClick.AddListener(() =>
|
||||
{
|
||||
thirdoperationpanl14.gameObject.SetActive(false);
|
||||
|
@ -337,8 +372,8 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
signforbutton.onClick.AddListener(() =>
|
||||
{
|
||||
ispsign = true;
|
||||
signforimage.gameObject.SetActive(true);
|
||||
Invoke("Getimage", 1.5f);
|
||||
Signfortext.text = "签收成功";
|
||||
_ = Signfor(Signfortext);
|
||||
});
|
||||
electricitytoggle1.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
|
@ -355,7 +390,7 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
if (ison)
|
||||
{
|
||||
thirdoperationpanl9.gameObject.SetActive(false);
|
||||
thirdoperationpanl11.gameObject.SetActive(true);
|
||||
thirdoperationpanl10.gameObject.SetActive(true);
|
||||
}
|
||||
});
|
||||
electricitytoggle3.onValueChanged.AddListener((ison) =>
|
||||
|
@ -363,7 +398,7 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
if (ison)
|
||||
{
|
||||
thirdoperationpanl9.gameObject.SetActive(false);
|
||||
thirdoperationpanl11.gameObject.SetActive(true);
|
||||
thirdoperationpanl10.gameObject.SetActive(true);
|
||||
}
|
||||
});
|
||||
electricitytoggle4.onValueChanged.AddListener((ison) =>
|
||||
|
@ -371,7 +406,7 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
if (ison)
|
||||
{
|
||||
thirdoperationpanl9.gameObject.SetActive(false);
|
||||
thirdoperationpanl11.gameObject.SetActive(true);
|
||||
thirdoperationpanl10.gameObject.SetActive(true);
|
||||
}
|
||||
});
|
||||
breachtoggle1.onValueChanged.AddListener((ison) =>
|
||||
|
@ -402,6 +437,17 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
});
|
||||
}
|
||||
/// <summary>
|
||||
/// 清空签收提示
|
||||
/// </summary>
|
||||
/// <param name="text"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<Text> Signfor(Text text)
|
||||
{
|
||||
await Task.Delay(1500);
|
||||
text.text = null;
|
||||
return text;
|
||||
}
|
||||
/// <summary>
|
||||
/// 练习步骤得分
|
||||
/// </summary>
|
||||
private void Practicescore3()
|
||||
|
@ -468,7 +514,7 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
{
|
||||
score += (float.Parse(ScoreManager.Instance.totalpoints[2]) * 0.16f);
|
||||
}
|
||||
if (score- Mathf.Floor(score)< 0.001f)
|
||||
if (score - Mathf.Floor(score) < 0.001f)
|
||||
{
|
||||
str = score.ToString();
|
||||
}
|
||||
|
@ -478,14 +524,6 @@ public class Thethirdsteppanl : MonoBehaviour
|
|||
}
|
||||
ScoreManager.Instance.Honourscores[2] = float.Parse(str);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 一定时间后失活图片
|
||||
/// </summary>
|
||||
public void Getimage()
|
||||
{
|
||||
signforimage.gameObject.SetActive(false);
|
||||
}
|
||||
/// <summary>
|
||||
/// 判断是否符合保存条件
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue