jkjjkjkjkjk
This commit is contained in:
parent
308e57d9f0
commit
a44b8750e0
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e95ef125592300a40bf6f59fc07f4289
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
After Width: | Height: | Size: 813 KiB |
|
@ -0,0 +1,135 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b104a57be84443f4a84afdb396affa07
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 12
|
||||||
|
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
|
||||||
|
cookieLightType: 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
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: WebGL
|
||||||
|
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:
|
|
@ -17,7 +17,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!224 &2485691483878867194
|
--- !u!224 &2485691483878867194
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -28,6 +28,7 @@ RectTransform:
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 2485691484692582150}
|
m_Father: {fileID: 2485691484692582150}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 1
|
||||||
|
@ -60,6 +61,7 @@ MonoBehaviour:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_RaycastTarget: 0
|
m_RaycastTarget: 0
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -106,6 +108,7 @@ RectTransform:
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 7767037248709318626}
|
- {fileID: 7767037248709318626}
|
||||||
- {fileID: 2485691483878867194}
|
- {fileID: 2485691483878867194}
|
||||||
|
@ -162,7 +165,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!224 &2485691485171461978
|
--- !u!224 &2485691485171461978
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -173,6 +176,7 @@ RectTransform:
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 2485691484692582150}
|
m_Father: {fileID: 2485691484692582150}
|
||||||
m_RootOrder: 2
|
m_RootOrder: 2
|
||||||
|
@ -205,6 +209,7 @@ MonoBehaviour:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
||||||
m_RaycastTarget: 1
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -233,6 +238,7 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Navigation:
|
m_Navigation:
|
||||||
m_Mode: 3
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
m_SelectOnUp: {fileID: 0}
|
m_SelectOnUp: {fileID: 0}
|
||||||
m_SelectOnDown: {fileID: 0}
|
m_SelectOnDown: {fileID: 0}
|
||||||
m_SelectOnLeft: {fileID: 0}
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
@ -280,6 +286,7 @@ MonoBehaviour:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 2485691484692582151}
|
- m_Target: {fileID: 2485691484692582151}
|
||||||
|
m_TargetAssemblyTypeName:
|
||||||
m_MethodName: PointIn
|
m_MethodName: PointIn
|
||||||
m_Mode: 0
|
m_Mode: 0
|
||||||
m_Arguments:
|
m_Arguments:
|
||||||
|
@ -295,6 +302,7 @@ MonoBehaviour:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 2485691484692582151}
|
- m_Target: {fileID: 2485691484692582151}
|
||||||
|
m_TargetAssemblyTypeName:
|
||||||
m_MethodName: PointOut
|
m_MethodName: PointOut
|
||||||
m_Mode: 0
|
m_Mode: 0
|
||||||
m_Arguments:
|
m_Arguments:
|
||||||
|
@ -322,7 +330,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!224 &7767037248709318626
|
--- !u!224 &7767037248709318626
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -333,6 +341,7 @@ RectTransform:
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 2485691484692582150}
|
m_Father: {fileID: 2485691484692582150}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
|
@ -365,6 +374,7 @@ MonoBehaviour:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_RaycastTarget: 1
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
|
|
@ -1,5 +1,123 @@
|
||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &288431509121936231
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7197284483540717724}
|
||||||
|
- component: {fileID: 6725671068048625645}
|
||||||
|
- component: {fileID: 3135879895393788730}
|
||||||
|
- component: {fileID: 1807579612307055292}
|
||||||
|
- component: {fileID: 1933653450812564034}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: layout
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 0
|
||||||
|
--- !u!224 &7197284483540717724
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 288431509121936231}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.25, y: 0.25, z: 0.25}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 552651400290170775}
|
||||||
|
m_RootOrder: 2
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 135.1, y: 2.6}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
|
--- !u!222 &6725671068048625645
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 288431509121936231}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &3135879895393788730
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 288431509121936231}
|
||||||
|
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: 0.9245283, g: 0, b: 0, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &1807579612307055292
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 288431509121936231}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding:
|
||||||
|
m_Left: 0
|
||||||
|
m_Right: 0
|
||||||
|
m_Top: 0
|
||||||
|
m_Bottom: 0
|
||||||
|
m_ChildAlignment: 0
|
||||||
|
m_Spacing: 3
|
||||||
|
m_ChildForceExpandWidth: 1
|
||||||
|
m_ChildForceExpandHeight: 1
|
||||||
|
m_ChildControlWidth: 0
|
||||||
|
m_ChildControlHeight: 0
|
||||||
|
m_ChildScaleWidth: 0
|
||||||
|
m_ChildScaleHeight: 0
|
||||||
|
m_ReverseArrangement: 0
|
||||||
|
--- !u!114 &1933653450812564034
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 288431509121936231}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_HorizontalFit: 2
|
||||||
|
m_VerticalFit: 2
|
||||||
--- !u!1 &552651399343491256
|
--- !u!1 &552651399343491256
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -29,6 +147,7 @@ RectTransform:
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 0.25, y: 0.25, z: 0.25}
|
m_LocalScale: {x: 0.25, y: 0.25, z: 0.25}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 552651400290170775}
|
m_Father: {fileID: 552651400290170775}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 1
|
||||||
|
@ -61,6 +180,7 @@ MonoBehaviour:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 0.5801887, g: 0.7229245, b: 1, a: 1}
|
m_Color: {r: 0.5801887, g: 0.7229245, b: 1, a: 1}
|
||||||
m_RaycastTarget: 1
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -92,41 +212,12 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Delegates:
|
m_Delegates:
|
||||||
- eventID: 0
|
|
||||||
callback:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls:
|
|
||||||
- m_Target: {fileID: 552651400290170770}
|
|
||||||
m_MethodName: PointIn
|
|
||||||
m_Mode: 0
|
|
||||||
m_Arguments:
|
|
||||||
m_ObjectArgument: {fileID: 0}
|
|
||||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
|
||||||
m_IntArgument: 0
|
|
||||||
m_FloatArgument: 0
|
|
||||||
m_StringArgument:
|
|
||||||
m_BoolArgument: 0
|
|
||||||
m_CallState: 2
|
|
||||||
- eventID: 1
|
|
||||||
callback:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls:
|
|
||||||
- m_Target: {fileID: 552651400290170770}
|
|
||||||
m_MethodName: PointOut
|
|
||||||
m_Mode: 0
|
|
||||||
m_Arguments:
|
|
||||||
m_ObjectArgument: {fileID: 0}
|
|
||||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
|
||||||
m_IntArgument: 0
|
|
||||||
m_FloatArgument: 0
|
|
||||||
m_StringArgument:
|
|
||||||
m_BoolArgument: 0
|
|
||||||
m_CallState: 2
|
|
||||||
- eventID: 4
|
- eventID: 4
|
||||||
callback:
|
callback:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 552651400290170770}
|
- m_Target: {fileID: 552651400290170770}
|
||||||
|
m_TargetAssemblyTypeName:
|
||||||
m_MethodName: Click
|
m_MethodName: Click
|
||||||
m_Mode: 0
|
m_Mode: 0
|
||||||
m_Arguments:
|
m_Arguments:
|
||||||
|
@ -165,6 +256,7 @@ RectTransform:
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 552651400290170775}
|
m_Father: {fileID: 552651400290170775}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
|
@ -197,6 +289,7 @@ MonoBehaviour:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_RaycastTarget: 0
|
m_RaycastTarget: 0
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -240,9 +333,11 @@ RectTransform:
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 552651400213636542}
|
- {fileID: 552651400213636542}
|
||||||
- {fileID: 552651399343491257}
|
- {fileID: 552651399343491257}
|
||||||
|
- {fileID: 7197284483540717724}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
@ -274,6 +369,7 @@ MonoBehaviour:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_RaycastTarget: 1
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
m_Maskable: 1
|
m_Maskable: 1
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -308,3 +404,4 @@ MonoBehaviour:
|
||||||
nochoseFont: {fileID: 12800000, guid: dcc291d57ccc8074d92b2d97da31a875, type: 3}
|
nochoseFont: {fileID: 12800000, guid: dcc291d57ccc8074d92b2d97da31a875, type: 3}
|
||||||
choseFont: {fileID: 12800000, guid: 43ab4162a30d8984db914784438e67b4, type: 3}
|
choseFont: {fileID: 12800000, guid: 43ab4162a30d8984db914784438e67b4, type: 3}
|
||||||
posPercent: {x: 0, y: 0}
|
posPercent: {x: 0, y: 0}
|
||||||
|
workPlaceItems: []
|
||||||
|
|
|
@ -0,0 +1,391 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &2485691483878867189
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2485691483878867194}
|
||||||
|
- component: {fileID: 2485691483878867192}
|
||||||
|
- component: {fileID: 2485691483878867195}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Name
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2485691483878867194
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691483878867189}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2485691484692582150}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 28, y: 16.72}
|
||||||
|
m_SizeDelta: {x: 297.8949, y: 66.88907}
|
||||||
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
|
--- !u!222 &2485691483878867192
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691483878867189}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &2485691483878867195
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691483878867189}
|
||||||
|
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: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: 43ab4162a30d8984db914784438e67b4, type: 3}
|
||||||
|
m_FontSize: 32
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 1
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 3
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 1
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "xx\u4F01\u4E1A"
|
||||||
|
--- !u!1 &2485691484692582145
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2485691484692582150}
|
||||||
|
- component: {fileID: 2485691484692582149}
|
||||||
|
- component: {fileID: 5564108451873312306}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: workPlaceItem
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2485691484692582150
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691484692582145}
|
||||||
|
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: 7767037248709318626}
|
||||||
|
- {fileID: 2485691483878867194}
|
||||||
|
- {fileID: 2485691485171461978}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 1, y: 1}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &2485691484692582149
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691484692582145}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &5564108451873312306
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691484692582145}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 2b74bf7b2c23960438ba7f308322660f, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
workPlaceName:
|
||||||
|
icon: {fileID: 7221729936295613119}
|
||||||
|
btn: {fileID: 2485691485171461976}
|
||||||
|
nochoseSprite: {fileID: 21300000, guid: b63be4c112f70e144ad43080fb57d3c8, type: 3}
|
||||||
|
choseSprite: {fileID: 21300000, guid: 67d141b17f6758146bdabe34f6d64ed6, type: 3}
|
||||||
|
--- !u!1 &2485691485171461973
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2485691485171461978}
|
||||||
|
- component: {fileID: 2485691485171461982}
|
||||||
|
- component: {fileID: 2485691485171461977}
|
||||||
|
- component: {fileID: 2485691485171461976}
|
||||||
|
- component: {fileID: 2485691485171461979}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Button
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2485691485171461978
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691485171461973}
|
||||||
|
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: 2485691484692582150}
|
||||||
|
m_RootOrder: 2
|
||||||
|
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.28, y: 16.1}
|
||||||
|
m_SizeDelta: {x: 26.706306, y: 39.01983}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &2485691485171461982
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691485171461973}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &2485691485171461977
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691485171461973}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
||||||
|
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: 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 &2485691485171461976
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691485171461973}
|
||||||
|
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: 2485691485171461977}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!114 &2485691485171461979
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2485691485171461973}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Delegates:
|
||||||
|
- eventID: 0
|
||||||
|
callback:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls:
|
||||||
|
- m_Target: {fileID: 5564108451873312306}
|
||||||
|
m_TargetAssemblyTypeName: WorkPlaceItem, Assembly-CSharp
|
||||||
|
m_MethodName: PointIn
|
||||||
|
m_Mode: 0
|
||||||
|
m_Arguments:
|
||||||
|
m_ObjectArgument: {fileID: 0}
|
||||||
|
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||||
|
m_IntArgument: 0
|
||||||
|
m_FloatArgument: 0
|
||||||
|
m_StringArgument:
|
||||||
|
m_BoolArgument: 0
|
||||||
|
m_CallState: 2
|
||||||
|
- eventID: 1
|
||||||
|
callback:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls:
|
||||||
|
- m_Target: {fileID: 5564108451873312306}
|
||||||
|
m_TargetAssemblyTypeName: WorkPlaceItem, Assembly-CSharp
|
||||||
|
m_MethodName: PointOut
|
||||||
|
m_Mode: 0
|
||||||
|
m_Arguments:
|
||||||
|
m_ObjectArgument: {fileID: 0}
|
||||||
|
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||||
|
m_IntArgument: 0
|
||||||
|
m_FloatArgument: 0
|
||||||
|
m_StringArgument:
|
||||||
|
m_BoolArgument: 0
|
||||||
|
m_CallState: 2
|
||||||
|
--- !u!1 &8867769302054536453
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7767037248709318626}
|
||||||
|
- component: {fileID: 1750993385045414421}
|
||||||
|
- component: {fileID: 7221729936295613119}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: icon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7767037248709318626
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8867769302054536453}
|
||||||
|
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: 2485691484692582150}
|
||||||
|
m_RootOrder: 0
|
||||||
|
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: 98.1, y: 21}
|
||||||
|
m_SizeDelta: {x: 269, y: 85}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1750993385045414421
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8867769302054536453}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &7221729936295613119
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8867769302054536453}
|
||||||
|
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: b63be4c112f70e144ad43080fb57d3c8, 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
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c2013ab3c44c4764783e82a577a97177
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d1825b6221ba35c46ab8314e42d74902
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -7,51 +7,4 @@ using UnityEngine;
|
||||||
|
|
||||||
public class CityPanel : MonoBehaviour
|
public class CityPanel : MonoBehaviour
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// 初始化
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="custCodes"></param>
|
|
||||||
public void Init(string custCodes)
|
|
||||||
{
|
|
||||||
//删除所有模型
|
|
||||||
GetComponentsInChildren<ModelItem>(true).ToList().ForEach(a =>
|
|
||||||
{
|
|
||||||
Destroy(a.gameObject);
|
|
||||||
});
|
|
||||||
|
|
||||||
//获取关区下所有企业信息
|
|
||||||
string url = "http://"+FirstPanel.instance.serverIP+":4000/api/Corporation/GetAllPosition?customCodes="+custCodes;
|
|
||||||
Debug.Log("获取企业模型:"+url);
|
|
||||||
StartCoroutine(FirstPanel.instance.CallGet(url, (isok, result) =>
|
|
||||||
{
|
|
||||||
if (isok)
|
|
||||||
{
|
|
||||||
//生成企业模型
|
|
||||||
JsonData data = JsonMapper.ToObject(result);
|
|
||||||
var tmp = data["data"];
|
|
||||||
|
|
||||||
List<v_model_version> list= new List<v_model_version>();
|
|
||||||
foreach (JsonData item in tmp)
|
|
||||||
{
|
|
||||||
v_model_version v = JsonMapper.ToObject<v_model_version>(item.ToJson());
|
|
||||||
if (ModelItem.modelItemPrefb == null)
|
|
||||||
{
|
|
||||||
ModelItem.modelItemPrefb = Resources.Load<GameObject>("prefeb/modelItem");
|
|
||||||
}
|
|
||||||
GameObject go = Instantiate<GameObject>(ModelItem.modelItemPrefb, transform);
|
|
||||||
go.GetComponent<ModelItem>().Init(v, GetComponent<RectTransform>());
|
|
||||||
list.Add(v);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Application.ExternalCall("ClickCustom", JsonMapper.ToJson(list));
|
|
||||||
Debug.Log("调前端进入关区" + custCodes);
|
|
||||||
//Debug.Log(JsonMapper.ToJson(list));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.LogError(result);
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,11 @@ public class FirstPanel : MonoBehaviour
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public GameObject citys;
|
public GameObject citys;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 办事处
|
||||||
|
/// </summary>
|
||||||
|
public GameObject workPlace;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 服务器IP
|
/// 服务器IP
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -31,6 +31,7 @@ public class CustomItem : MonoBehaviour
|
||||||
{
|
{
|
||||||
FirstPanel.instance.tab.GetComponentsInChildren<TabItem>().ToList().Find(a => a.customItem == this).Click(null);
|
FirstPanel.instance.tab.GetComponentsInChildren<TabItem>().ToList().Find(a => a.customItem == this).Click(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PointIn(BaseEventData data)
|
public void PointIn(BaseEventData data)
|
||||||
|
@ -49,13 +50,30 @@ public class CustomItem : MonoBehaviour
|
||||||
public void EnterCity()
|
public void EnterCity()
|
||||||
{
|
{
|
||||||
FirstPanel.currentChoseCustonItem = this;
|
FirstPanel.currentChoseCustonItem = this;
|
||||||
//清空选择
|
//重置所有市地图
|
||||||
FirstPanel.instance.citys.transform.GetComponentsInChildren<CityPanel>().ToList().ForEach(a =>
|
FirstPanel.instance.citys.transform.GetComponentsInChildren<CityPanel>().ToList().ForEach(a =>
|
||||||
{
|
{
|
||||||
a.gameObject.SetActive(false);
|
a.gameObject.SetActive(false);
|
||||||
});
|
});
|
||||||
|
//显示选中的市地图
|
||||||
shi_Panel.gameObject.SetActive(true);
|
shi_Panel.gameObject.SetActive(true);
|
||||||
shi_Panel.Init(Custom_Code);
|
//重置市下面办事处item
|
||||||
|
shi_Panel.transform.GetComponentsInChildren<WorkPlaceItem>(true).ToList().ForEach(a =>
|
||||||
|
{
|
||||||
|
if (a.customItem != this)
|
||||||
|
{
|
||||||
|
a.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
a.gameObject.SetActive(true);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
//隐藏省地图
|
||||||
FirstPanel.instance.sheng_Panel.SetActive(false);
|
FirstPanel.instance.sheng_Panel.SetActive(false);
|
||||||
|
|
||||||
|
//隐藏所有办事处地图
|
||||||
|
FirstPanel.instance.workPlace.SetActive(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,10 +5,11 @@ using UnityEngine.EventSystems;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
using Competition.Mysql.Model;
|
using Competition.Mysql.Model;
|
||||||
using LitJson;
|
using LitJson;
|
||||||
|
using Competition.Mysql.Other;
|
||||||
|
|
||||||
public class ModelItem : MonoBehaviour
|
public class ModelItem : MonoBehaviour
|
||||||
{
|
{
|
||||||
public v_model_version modelData;
|
public erprise_model_version modelData;
|
||||||
public Image icon;
|
public Image icon;
|
||||||
public Button btn;
|
public Button btn;
|
||||||
public Text text;
|
public Text text;
|
||||||
|
@ -20,7 +21,7 @@ public class ModelItem : MonoBehaviour
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static GameObject modelItemPrefb;
|
public static GameObject modelItemPrefb;
|
||||||
|
|
||||||
public void Init(v_model_version modelData,RectTransform citytrans)
|
public void Init(erprise_model_version modelData,RectTransform citytrans)
|
||||||
{
|
{
|
||||||
this.modelData = modelData;
|
this.modelData = modelData;
|
||||||
text.text = modelData.ModelName;
|
text.text = modelData.ModelName;
|
||||||
|
@ -29,12 +30,12 @@ public class ModelItem : MonoBehaviour
|
||||||
modelData.MapLongitude=(GetComponent<RectTransform>().position.x/Screen.width).ToString();
|
modelData.MapLongitude=(GetComponent<RectTransform>().position.x/Screen.width).ToString();
|
||||||
modelData.MapLatitude= (GetComponent<RectTransform>().position.y/Screen.height).ToString();
|
modelData.MapLatitude= (GetComponent<RectTransform>().position.y/Screen.height).ToString();
|
||||||
|
|
||||||
//btn.onClick.AddListener(() =>
|
#if !UNITY_EDITOR
|
||||||
//{
|
|
||||||
// //打开启动器
|
icon.gameObject.SetActive(false);
|
||||||
// Application.ExternalCall("StartModel", JsonMapper.ToJson(modelData));
|
btn.gameObject.SetActive(false);
|
||||||
// Debug.Log(JsonMapper.ToJson(modelData));
|
text.gameObject.SetActive(false);
|
||||||
//});
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PointIn(BaseEventData data)
|
public void PointIn(BaseEventData data)
|
||||||
|
|
|
@ -20,21 +20,78 @@ public class TabItem : MonoBehaviour
|
||||||
public Vector2 posPercent;
|
public Vector2 posPercent;
|
||||||
private RectTransform parentRectTransform;
|
private RectTransform parentRectTransform;
|
||||||
private RectTransform rectTransform;
|
private RectTransform rectTransform;
|
||||||
|
private RectTransform textRectTransform;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 办事处按钮
|
||||||
|
/// </summary>
|
||||||
|
public List<WorkPlaceItem> workPlaceItems;
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
parentRectTransform = transform.parent.GetComponent<RectTransform>();
|
parentRectTransform = transform.parent.GetComponent<RectTransform>();
|
||||||
rectTransform=GetComponent<RectTransform>();
|
rectTransform=GetComponent<RectTransform>();
|
||||||
|
textRectTransform = nameText.transform.GetComponent<RectTransform>();
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
Debug.Log("地图比例:"+gameObject.name + " " + rectTransform.anchoredPosition.x / parentRectTransform.rect.width + " " + rectTransform.anchoredPosition.y / parentRectTransform.rect.height);
|
Debug.Log("地图比例:"+gameObject.name + " " + rectTransform.anchoredPosition.x / parentRectTransform.rect.width + " " + rectTransform.anchoredPosition.y / parentRectTransform.rect.height);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (customItem != null)
|
||||||
|
{
|
||||||
|
List<Button> btns = transform.Find("layout").GetComponentsInChildren<Button>(true).ToList();
|
||||||
|
for (int i = 0; i < btns.Count; i++)
|
||||||
|
{
|
||||||
|
int index = i;
|
||||||
|
//点击办事处按钮
|
||||||
|
btns[index].onClick.AddListener(() =>
|
||||||
|
{
|
||||||
|
workPlaceItems[index].Click();
|
||||||
|
FirstPanel.instance.tab.GetComponentsInChildren<TabItem>().ToList().ForEach(a =>
|
||||||
|
{
|
||||||
|
if (a != this)
|
||||||
|
{
|
||||||
|
a.SetNoChoseState();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//标签状态选中
|
||||||
|
a.PointIn();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool isin=false;
|
||||||
|
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
rectTransform.anchoredPosition = new Vector2(posPercent.x * parentRectTransform.rect.width, posPercent.y * parentRectTransform.rect.height);
|
rectTransform.anchoredPosition = new Vector2(posPercent.x * parentRectTransform.rect.width, posPercent.y * parentRectTransform.rect.height);
|
||||||
|
|
||||||
|
//检测鼠标是否在里面
|
||||||
|
RectTransformUtility.ScreenPointToLocalPointInRectangle(textRectTransform, Input.mousePosition, null, out Vector2 localPos);
|
||||||
|
if (textRectTransform.rect.Contains(localPos))
|
||||||
|
{
|
||||||
|
if (!isin)
|
||||||
|
{
|
||||||
|
isin = true;
|
||||||
|
PointIn();
|
||||||
|
Debug.Log("进入");
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (isin)
|
||||||
|
{
|
||||||
|
isin = false;
|
||||||
|
PointOut();
|
||||||
|
Debug.Log("离开");
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PointIn(BaseEventData data)
|
public void PointIn()
|
||||||
{
|
{
|
||||||
showIcon.gameObject.SetActive(true);
|
showIcon.gameObject.SetActive(true);
|
||||||
GetComponent<Image>().sprite = choseSprite;
|
GetComponent<Image>().sprite = choseSprite;
|
||||||
|
@ -46,9 +103,12 @@ public class TabItem : MonoBehaviour
|
||||||
nameText.color= Color.white;
|
nameText.color= Color.white;
|
||||||
customItem.PointIn(null);
|
customItem.PointIn(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//显示办事处
|
||||||
|
transform.Find("layout").gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PointOut(BaseEventData data)
|
public void PointOut()
|
||||||
{
|
{
|
||||||
//选中此关区,不切换状态
|
//选中此关区,不切换状态
|
||||||
if (customItem != null && FirstPanel.currentChoseCustonItem == customItem)
|
if (customItem != null && FirstPanel.currentChoseCustonItem == customItem)
|
||||||
|
@ -74,6 +134,8 @@ public class TabItem : MonoBehaviour
|
||||||
nameText.color = new Color(148f / 255f, 184f / 255f, 1, 1);
|
nameText.color = new Color(148f / 255f, 184f / 255f, 1, 1);
|
||||||
customItem.PointOut(null);
|
customItem.PointOut(null);
|
||||||
}
|
}
|
||||||
|
//隐藏办事处
|
||||||
|
transform.Find("layout").gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -96,7 +158,7 @@ public class TabItem : MonoBehaviour
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//标签状态选中
|
//标签状态选中
|
||||||
a.PointIn(null);
|
a.PointIn();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,61 @@
|
||||||
|
using Competition.Mysql.Other;
|
||||||
|
using LitJson;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class WorkPlaceItem : MonoBehaviour
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 域岈揭靡趼
|
||||||
|
/// </summary>
|
||||||
|
public string workPlaceName;
|
||||||
|
public Image icon;
|
||||||
|
public Button btn;
|
||||||
|
public Sprite nochoseSprite;
|
||||||
|
public Sprite choseSprite;
|
||||||
|
/// <summary>
|
||||||
|
/// 域岈揭
|
||||||
|
/// </summary>
|
||||||
|
public WorkPlacePanel workPlacePanel;
|
||||||
|
public CustomItem customItem;
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
btn.onClick.AddListener(Click);
|
||||||
|
}
|
||||||
|
public void Click()
|
||||||
|
{
|
||||||
|
//笭离垀衄域岈揭華芞
|
||||||
|
FirstPanel.instance.workPlace.SetActive(true);
|
||||||
|
FirstPanel.instance.workPlace.transform.GetComponentsInChildren<WorkPlacePanel>().ToList().ForEach(a =>
|
||||||
|
{
|
||||||
|
a.gameObject.SetActive(false);
|
||||||
|
});
|
||||||
|
|
||||||
|
//珆尨域岈揭華芞
|
||||||
|
workPlacePanel.gameObject.SetActive(true);
|
||||||
|
workPlacePanel.Init(customItem.Custom_Code, this);
|
||||||
|
//笐紲垀衄庈華芞
|
||||||
|
FirstPanel.instance.citys.transform.GetComponentsInChildren<CityPanel>().ToList().ForEach(a =>
|
||||||
|
{
|
||||||
|
a.gameObject.SetActive(false);
|
||||||
|
});
|
||||||
|
//笐紲吽華芞
|
||||||
|
FirstPanel.instance.sheng_Panel.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PointIn(BaseEventData data)
|
||||||
|
{
|
||||||
|
icon.sprite = choseSprite;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PointOut(BaseEventData data)
|
||||||
|
{
|
||||||
|
icon.sprite = nochoseSprite;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2b74bf7b2c23960438ba7f308322660f
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,72 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Competition.Mysql.Other
|
||||||
|
{
|
||||||
|
public class erprise_model_version
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 企业编码
|
||||||
|
/// </summary>
|
||||||
|
public string EnterpriseCode { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 企业名称
|
||||||
|
/// </summary>
|
||||||
|
public string EnterpriseName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 关区代码
|
||||||
|
/// </summary>
|
||||||
|
public string DistrictCode { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 模型id
|
||||||
|
/// </summary>
|
||||||
|
public string ModelId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 模型名称
|
||||||
|
/// </summary>
|
||||||
|
public string ModelName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 版本号
|
||||||
|
/// </summary>
|
||||||
|
public string VersionNumber { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 地图经度
|
||||||
|
/// </summary>
|
||||||
|
public string MapLongitude { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 地图维度
|
||||||
|
/// </summary>
|
||||||
|
public string MapLatitude { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 模型包大小
|
||||||
|
/// </summary>
|
||||||
|
public string TrainingSize { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 模型包资源地址
|
||||||
|
/// </summary>
|
||||||
|
public string ModelResources { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 最新时间
|
||||||
|
/// </summary>
|
||||||
|
public DateTime? UpdateTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 注册表名称
|
||||||
|
/// </summary>
|
||||||
|
public string RegistryName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 软件名称路径
|
||||||
|
/// </summary>
|
||||||
|
public string ModelResourcesPath { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a5791b4ba6f6d1a4c8893f7a5f5df995
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,83 @@
|
||||||
|
using Competition.Mysql.Other;
|
||||||
|
using LitJson;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class WorkPlacePanel : MonoBehaviour
|
||||||
|
{
|
||||||
|
WorkPlaceItem workPlaceItem;
|
||||||
|
public void Init(string custCodes, WorkPlaceItem workPlaceItem)
|
||||||
|
{
|
||||||
|
this.workPlaceItem = workPlaceItem;
|
||||||
|
InitModel(custCodes);
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 生成企业图标
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="custCodes"></param>
|
||||||
|
private void InitModel(string custCodes)
|
||||||
|
{
|
||||||
|
//删除所有模型
|
||||||
|
GetComponentsInChildren<ModelItem>(true).ToList().ForEach(a =>
|
||||||
|
{
|
||||||
|
Destroy(a.gameObject);
|
||||||
|
});
|
||||||
|
|
||||||
|
//获取关区下所有企业信息
|
||||||
|
//string url = "http://" + FirstPanel.instance.serverIP + ":4000/api/Corporation/GetAllPosition?customCodes=" + custCodes;
|
||||||
|
string url = "http://" + FirstPanel.instance.serverIP + ":4000/api/GetModelList?PageIndex=1&PageSize=999999";
|
||||||
|
Debug.Log("获取企业模型:" + url);
|
||||||
|
StartCoroutine(FirstPanel.instance.CallGet(url, (isok, result) =>
|
||||||
|
{
|
||||||
|
if (isok)
|
||||||
|
{
|
||||||
|
//生成企业模型
|
||||||
|
JsonData data = JsonMapper.ToObject(result);
|
||||||
|
var tmp = data["data"]["list"];
|
||||||
|
|
||||||
|
List<erprise_model_version> list = new List<erprise_model_version>();
|
||||||
|
foreach (JsonData item in tmp)
|
||||||
|
{
|
||||||
|
erprise_model_version v = JsonMapper.ToObject<erprise_model_version>(item.ToJson());
|
||||||
|
list.Add(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
//本关区的
|
||||||
|
var showAll = list.FindAll(a => custCodes.Split(',').Contains(a.DistrictCode));
|
||||||
|
if (workPlaceItem.workPlaceName == "驻罗源湾办事处")
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (workPlaceItem.workPlaceName == "驻福清办事处")
|
||||||
|
{
|
||||||
|
//读取福清配置文件
|
||||||
|
string json = File.ReadAllText(Application.streamingAssetsPath + "/驻福清办事处.txt");
|
||||||
|
List<erprise_model_version> tmpComps = JsonMapper.ToObject<List<erprise_model_version>>(json);
|
||||||
|
showAll.AddRange(tmpComps);
|
||||||
|
}
|
||||||
|
|
||||||
|
showAll.ForEach(a =>
|
||||||
|
{
|
||||||
|
//生成本关区的图标
|
||||||
|
if (ModelItem.modelItemPrefb == null)
|
||||||
|
{
|
||||||
|
ModelItem.modelItemPrefb = Resources.Load<GameObject>("prefeb/modelItem");
|
||||||
|
}
|
||||||
|
GameObject go = Instantiate<GameObject>(ModelItem.modelItemPrefb, transform);
|
||||||
|
go.GetComponent<ModelItem>().Init(a, GetComponent<RectTransform>());
|
||||||
|
|
||||||
|
Application.ExternalCall("ClickCustom", JsonMapper.ToJson(list));
|
||||||
|
Debug.Log("调前端进入关区" + custCodes);
|
||||||
|
//Debug.Log(JsonMapper.ToJson(list));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError(result);
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 44e6072eb03814747acf65d17160bdd2
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 682f65fba74273c4c9c2d092eedeac61
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,51 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"EnterpriseCode": "",
|
||||||
|
"DistrictCode": "3505",
|
||||||
|
"ModelName": "福州新港国际集装箱码头有限公司",
|
||||||
|
"MapLongitude": "0.585",
|
||||||
|
"MapLatitude": "0.525"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"EnterpriseCode": "",
|
||||||
|
"DistrictCode": "3505",
|
||||||
|
"ModelName": "国电福州电厂有限公司",
|
||||||
|
"MapLongitude": "0.605",
|
||||||
|
"MapLatitude": "0.315"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"EnterpriseCode": "",
|
||||||
|
"DistrictCode": "3505",
|
||||||
|
"ModelName": "福建中民新能源有限公司",
|
||||||
|
"MapLongitude": "0.775",
|
||||||
|
"MapLatitude": "0.555"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"EnterpriseCode": "",
|
||||||
|
"DistrictCode": "3505",
|
||||||
|
"ModelName": "福建中江化工码头有限公司",
|
||||||
|
"MapLongitude": "0.425",
|
||||||
|
"MapLatitude": "0.455"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"EnterpriseCode": "",
|
||||||
|
"DistrictCode": "3505",
|
||||||
|
"ModelName": "福建中远海运有限公司",
|
||||||
|
"MapLongitude": "0.665",
|
||||||
|
"MapLatitude": "0.575"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"EnterpriseCode": "",
|
||||||
|
"DistrictCode": "3505",
|
||||||
|
"ModelName": "福建闽海能源有限公司",
|
||||||
|
"MapLongitude": "0.355",
|
||||||
|
"MapLatitude": "0.545"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"EnterpriseCode": "",
|
||||||
|
"DistrictCode": "3505",
|
||||||
|
"ModelName": "万华(福建)码头有限公司",
|
||||||
|
"MapLongitude": "0.445",
|
||||||
|
"MapLatitude": "0.555"
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 18eaab8775062c14ca142a8ac9cadf3a
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in New Issue