修改细节
This commit is contained in:
parent
9f19e951cc
commit
7a1042d184
BIN
Assets/Resources/Images/Race/back down.png
Normal file
BIN
Assets/Resources/Images/Race/back down.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
116
Assets/Resources/Images/Race/back down.png.meta
Normal file
116
Assets/Resources/Images/Race/back down.png.meta
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 309bd10d30ea09c46aca24c863c95e82
|
||||||
|
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
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: -1
|
||||||
|
aniso: -1
|
||||||
|
mipBias: -100
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: -1
|
||||||
|
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
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 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: Android
|
||||||
|
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: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -5517,6 +5517,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your FTP
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_ContentType
|
propertyPath: m_ContentType
|
||||||
@ -5817,6 +5822,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your phone number
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_CharacterLimit
|
propertyPath: m_CharacterLimit
|
||||||
@ -5962,6 +5972,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your name
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_CharacterLimit
|
propertyPath: m_CharacterLimit
|
||||||
@ -6107,6 +6122,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your MHR
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_ContentType
|
propertyPath: m_ContentType
|
||||||
@ -6262,6 +6282,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your WD
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_ContentType
|
propertyPath: m_ContentType
|
||||||
@ -6417,6 +6442,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your weight
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_ContentType
|
propertyPath: m_ContentType
|
||||||
@ -6572,6 +6602,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your address
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_FontData.m_Alignment
|
propertyPath: m_FontData.m_Alignment
|
||||||
@ -6767,6 +6802,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your height
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_ContentType
|
propertyPath: m_ContentType
|
||||||
@ -6922,6 +6962,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your BW
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_ContentType
|
propertyPath: m_ContentType
|
||||||
@ -7077,6 +7122,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: input
|
value: input
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7204820797918493515, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Text
|
||||||
|
value: Please enter your nickname
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
- target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_Interactable
|
propertyPath: m_Interactable
|
||||||
|
|||||||
@ -1,5 +1,123 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &849203386878280201
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7391653784672522412}
|
||||||
|
- component: {fileID: 1646344064600245740}
|
||||||
|
- component: {fileID: 8731411260291030398}
|
||||||
|
- component: {fileID: 7790777346932319154}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: BtnGoListTop
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7391653784672522412
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 849203386878280201}
|
||||||
|
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_Children: []
|
||||||
|
m_Father: {fileID: 3445340291243714514}
|
||||||
|
m_RootOrder: 6
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 284, y: -62}
|
||||||
|
m_SizeDelta: {x: 44, y: 44}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1646344064600245740
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 849203386878280201}
|
||||||
|
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_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 309bd10d30ea09c46aca24c863c95e82, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &8731411260291030398
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 849203386878280201}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
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: 1646344064600245740}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!222 &7790777346932319154
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 849203386878280201}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
--- !u!1 &1703012134833883404
|
--- !u!1 &1703012134833883404
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -427,6 +545,8 @@ RectTransform:
|
|||||||
- {fileID: 8089048072454713059}
|
- {fileID: 8089048072454713059}
|
||||||
- {fileID: 2547147171398365227}
|
- {fileID: 2547147171398365227}
|
||||||
- {fileID: 888596503449396189}
|
- {fileID: 888596503449396189}
|
||||||
|
- {fileID: 7569842829698998093}
|
||||||
|
- {fileID: 7391653784672522412}
|
||||||
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}
|
||||||
@ -907,6 +1027,94 @@ MonoBehaviour:
|
|||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: ALL RACE
|
m_Text: ALL RACE
|
||||||
|
--- !u!1 &5258701487187373835
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7569842829698998093}
|
||||||
|
- component: {fileID: 8687770609989756473}
|
||||||
|
- component: {fileID: 636307651592764752}
|
||||||
|
- component: {fileID: 7919772290080941578}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: SwitchMode
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7569842829698998093
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5258701487187373835}
|
||||||
|
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_Children: []
|
||||||
|
m_Father: {fileID: 3445340291243714514}
|
||||||
|
m_RootOrder: 5
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 252, y: -30}
|
||||||
|
m_SizeDelta: {x: 64, y: 64}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!222 &8687770609989756473
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5258701487187373835}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &636307651592764752
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5258701487187373835}
|
||||||
|
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.13725491, g: 0.13725491, b: 0.1764706, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
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 &7919772290080941578
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5258701487187373835}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: adb30198aa32dd140b5750692dd48104, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
radius: 32
|
||||||
--- !u!1 &7337022735317176614
|
--- !u!1 &7337022735317176614
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@ -285,6 +285,94 @@ MonoBehaviour:
|
|||||||
m_FillOrigin: 0
|
m_FillOrigin: 0
|
||||||
m_UseSpriteMesh: 0
|
m_UseSpriteMesh: 0
|
||||||
m_PixelsPerUnitMultiplier: 1
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &147043334410187602
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6595848013761631944}
|
||||||
|
- component: {fileID: 3267393459555052240}
|
||||||
|
- component: {fileID: 5794960625977906479}
|
||||||
|
- component: {fileID: 1374767431251357481}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: SwitchMode
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6595848013761631944
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 147043334410187602}
|
||||||
|
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_Children: []
|
||||||
|
m_Father: {fileID: 1673965681348374004}
|
||||||
|
m_RootOrder: 4
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 252, y: -30}
|
||||||
|
m_SizeDelta: {x: 64, y: 64}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!222 &3267393459555052240
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 147043334410187602}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &5794960625977906479
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 147043334410187602}
|
||||||
|
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.13725491, g: 0.13725491, b: 0.1764706, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
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 &1374767431251357481
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 147043334410187602}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: adb30198aa32dd140b5750692dd48104, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
radius: 32
|
||||||
--- !u!1 &285203669389758375
|
--- !u!1 &285203669389758375
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -847,9 +935,10 @@ RectTransform:
|
|||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 4408462524766711656}
|
- {fileID: 4408462524766711656}
|
||||||
- {fileID: 7118448401530350836}
|
- {fileID: 7118448401530350836}
|
||||||
- {fileID: 7825229638776794366}
|
|
||||||
- {fileID: 7081805938635351733}
|
- {fileID: 7081805938635351733}
|
||||||
- {fileID: 3808910954941481150}
|
- {fileID: 3808910954941481150}
|
||||||
|
- {fileID: 6595848013761631944}
|
||||||
|
- {fileID: 7825229638776794366}
|
||||||
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}
|
||||||
@ -1976,7 +2065,7 @@ RectTransform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 1673965681348374004}
|
m_Father: {fileID: 1673965681348374004}
|
||||||
m_RootOrder: 4
|
m_RootOrder: 3
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 1, y: 1}
|
m_AnchorMin: {x: 1, y: 1}
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
@ -2060,7 +2149,7 @@ RectTransform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 1673965681348374004}
|
m_Father: {fileID: 1673965681348374004}
|
||||||
m_RootOrder: 3
|
m_RootOrder: 2
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 1, y: 1}
|
m_AnchorMin: {x: 1, y: 1}
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
@ -3070,16 +3159,16 @@ RectTransform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 7825229638776794367}
|
m_GameObject: {fileID: 7825229638776794367}
|
||||||
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_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 1673965681348374004}
|
m_Father: {fileID: 1673965681348374004}
|
||||||
m_RootOrder: 2
|
m_RootOrder: 5
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 242, y: -40}
|
m_AnchoredPosition: {x: 262, y: -40}
|
||||||
m_SizeDelta: {x: 44, y: 44}
|
m_SizeDelta: {x: 44, y: 44}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &7196181606344597827
|
--- !u!114 &7196181606344597827
|
||||||
|
|||||||
@ -812,6 +812,7 @@ GameObject:
|
|||||||
- component: {fileID: 5521075338391914450}
|
- component: {fileID: 5521075338391914450}
|
||||||
- component: {fileID: 5521075338391914461}
|
- component: {fileID: 5521075338391914461}
|
||||||
- component: {fileID: 5521075338391914448}
|
- component: {fileID: 5521075338391914448}
|
||||||
|
- component: {fileID: 1532717361118433841}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: ItemSmall
|
m_Name: ItemSmall
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -907,6 +908,49 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
myType: 1
|
myType: 1
|
||||||
|
--- !u!114 &1532717361118433841
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5521075338391914463}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
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: 5521075338391914450}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
--- !u!1 &5521075338411426020
|
--- !u!1 &5521075338411426020
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -407,6 +407,7 @@ public class MapListController : PFUIPanel
|
|||||||
{
|
{
|
||||||
transform.Find("RawImage").GetComponent<RawImage>().texture = App.DefaultRotateTexture;
|
transform.Find("RawImage").GetComponent<RawImage>().texture = App.DefaultRotateTexture;
|
||||||
}
|
}
|
||||||
|
ResetPanel();
|
||||||
var cg = this.GetComponent<CanvasGroup>();
|
var cg = this.GetComponent<CanvasGroup>();
|
||||||
cg.alpha = 0;
|
cg.alpha = 0;
|
||||||
cg.DOFade(1f, .3f);
|
cg.DOFade(1f, .3f);
|
||||||
|
|||||||
@ -43,6 +43,10 @@ public class UserInfoController : PFUIPanel
|
|||||||
{
|
{
|
||||||
UIManager.ShowEditUserPanel();
|
UIManager.ShowEditUserPanel();
|
||||||
});
|
});
|
||||||
|
UIManager.AddEvent(infoPanel.Find("Avatar").gameObject, EventTriggerType.PointerClick, (b) =>
|
||||||
|
{
|
||||||
|
UIManager.ShowEditUserPanel();
|
||||||
|
});
|
||||||
//editBtn.onClick.AddListener(() =>
|
//editBtn.onClick.AddListener(() =>
|
||||||
//{
|
//{
|
||||||
// UIManager.ShowEditUserPanel();
|
// UIManager.ShowEditUserPanel();
|
||||||
|
|||||||
@ -13,7 +13,7 @@ public class RaceHomeScript : RaceScript
|
|||||||
{
|
{
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
private ScrollRect scroll;
|
private ScrollRect scroll;
|
||||||
private Transform content,rightContainer,leftContainer,btnGoList;
|
private Transform content,rightContainer,leftContainer,btnGoList,btnGoListTop;
|
||||||
private float contentSize;
|
private float contentSize;
|
||||||
private int count;
|
private int count;
|
||||||
private Button L, R;
|
private Button L, R;
|
||||||
@ -79,6 +79,14 @@ public class RaceHomeScript : RaceScript
|
|||||||
UIManager.ShowRaceListPanel();
|
UIManager.ShowRaceListPanel();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
btnGoListTop = transform.Find("BtnGoListTop");
|
||||||
|
if (btnGoListTop != null)
|
||||||
|
{
|
||||||
|
UIManager.AddEvent(btnGoListTop.gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b =>
|
||||||
|
{
|
||||||
|
UIManager.ShowRaceListPanel();
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
bool isEnter = false;
|
bool isEnter = false;
|
||||||
|
|
||||||
|
|||||||
@ -6,6 +6,7 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler, IPointerUpHandler
|
public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler, IPointerUpHandler
|
||||||
@ -27,6 +28,12 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
|||||||
}
|
}
|
||||||
public void Initial(MapCompetition mapCompetition,Transform parent)
|
public void Initial(MapCompetition mapCompetition,Transform parent)
|
||||||
{
|
{
|
||||||
|
transform.GetComponent<Button>().onClick.AddListener(() =>
|
||||||
|
{
|
||||||
|
App.RouteIdParam = mapCompetition.RouteId;
|
||||||
|
App.CompetionId = mapCompetition.Id;
|
||||||
|
SceneManager.LoadScene("Ride");
|
||||||
|
});
|
||||||
Utils.DisplayImage(transform.GetComponent<RawImage>(), mapCompetition.RouteCover, true);
|
Utils.DisplayImage(transform.GetComponent<RawImage>(), mapCompetition.RouteCover, true);
|
||||||
Utils.DisplayImage(transform.Find("AltitudeCurve").GetComponent<RawImage>(), mapCompetition.AltitudeGraph, true);
|
Utils.DisplayImage(transform.Find("AltitudeCurve").GetComponent<RawImage>(), mapCompetition.AltitudeGraph, true);
|
||||||
transform.Find("InfoContainer/Text").GetComponent<Text>().SetTextWithEllipsis(mapCompetition.Title);
|
transform.Find("InfoContainer/Text").GetComponent<Text>().SetTextWithEllipsis(mapCompetition.Title);
|
||||||
@ -166,9 +173,11 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
float? localY = null;
|
||||||
public void OnPointerExit(PointerEventData eventData)
|
public void OnPointerExit(PointerEventData eventData)
|
||||||
{
|
{
|
||||||
|
Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto);
|
||||||
|
transform.DOLocalMoveY(localY.Value, 0.3f);
|
||||||
transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
||||||
transform.Find("AltitudeCurve").GetComponent<RawImage>().DOFade(0, 0.5f);
|
transform.Find("AltitudeCurve").GetComponent<RawImage>().DOFade(0, 0.5f);
|
||||||
transform.Find("InfoContainer/Text").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
transform.Find("InfoContainer/Text").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
||||||
@ -195,6 +204,12 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
|||||||
|
|
||||||
public void OnPointerEnter(PointerEventData eventData)
|
public void OnPointerEnter(PointerEventData eventData)
|
||||||
{
|
{
|
||||||
|
if (localY == null)
|
||||||
|
{
|
||||||
|
localY = transform.localPosition.y;
|
||||||
|
}
|
||||||
|
transform.DOLocalMoveY(localY.Value + 5, 0.3f);
|
||||||
|
Cursor.SetCursor(Resources.Load<Texture2D>("Images/PointerButtonHover"), Vector2.zero, CursorMode.Auto);
|
||||||
transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
||||||
transform.Find("AltitudeCurve").GetComponent<RawImage>().DOFade(1, 0.5f);
|
transform.Find("AltitudeCurve").GetComponent<RawImage>().DOFade(1, 0.5f);
|
||||||
transform.Find("InfoContainer/Text").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
transform.Find("InfoContainer/Text").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
||||||
|
|||||||
@ -26,6 +26,39 @@ public class RaceListScript : RaceScript
|
|||||||
{
|
{
|
||||||
base.Show();
|
base.Show();
|
||||||
handleAvatar();
|
handleAvatar();
|
||||||
|
ResetPanel();
|
||||||
|
}
|
||||||
|
void ResetPanel()
|
||||||
|
{
|
||||||
|
if (statusOptionContainer != null)
|
||||||
|
{
|
||||||
|
foreach (Transform t in statusOptionContainer)
|
||||||
|
{
|
||||||
|
var image = t.GetComponent<Image>();
|
||||||
|
var text = t.Find("Text").GetComponent<Text>();
|
||||||
|
if (t.name == "Btn1")
|
||||||
|
{
|
||||||
|
image.color = Utils.HexToColorHtml("#F93086");
|
||||||
|
text.color = new Color(1, 1, 1, 1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
image.color = Utils.HexToColorHtml("#23232D");
|
||||||
|
text.color = new Color(1, 1, 1, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
statusOptions = new List<string>();
|
||||||
|
}
|
||||||
|
if (reserveContainer != null)
|
||||||
|
{
|
||||||
|
reserveContainer.Find("Gou").gameObject.SetActive(false);
|
||||||
|
isReserve = false;
|
||||||
|
}
|
||||||
|
if (searchInput != null)
|
||||||
|
{
|
||||||
|
searchInput.GetComponent<InputField>().text = "";
|
||||||
|
raceName = "";
|
||||||
|
}
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
//筛选条件
|
//筛选条件
|
||||||
|
|||||||
@ -5,14 +5,21 @@ using UnityEngine;
|
|||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
public class RaceMaskScript : MonoBehaviour, IPointerEnterHandler,IPointerExitHandler
|
public class RaceMaskScript : MonoBehaviour, IPointerEnterHandler,IPointerExitHandler
|
||||||
{
|
{
|
||||||
|
float? localY = null;
|
||||||
public void OnPointerEnter(PointerEventData eventData)
|
public void OnPointerEnter(PointerEventData eventData)
|
||||||
{
|
{
|
||||||
transform.Find("Panel").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
transform.Find("Panel").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
||||||
|
if (localY == null)
|
||||||
|
{
|
||||||
|
localY = transform.localPosition.y;
|
||||||
|
}
|
||||||
|
transform.DOLocalMoveY(localY.Value + 5, 0.3f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnPointerExit(PointerEventData eventData)
|
public void OnPointerExit(PointerEventData eventData)
|
||||||
{
|
{
|
||||||
transform.Find("Panel").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
transform.Find("Panel").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
||||||
|
transform.DOLocalMoveY(localY.Value, 0.3f);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
|
|||||||
@ -546,7 +546,7 @@ public class UIManager : MonoBehaviour
|
|||||||
{
|
{
|
||||||
Debug.Log("清空");
|
Debug.Log("清空");
|
||||||
//App.propTextureCache["recordCache"].Clear();
|
//App.propTextureCache["recordCache"].Clear();
|
||||||
UIManager.Instance.MapListPanel.ResetPanel();
|
//UIManager.Instance.MapListPanel.ResetPanel();
|
||||||
UIManager.Show(UIManager.Instance.MapListPanel, UIManager.Instance.MainPanel);
|
UIManager.Show(UIManager.Instance.MapListPanel, UIManager.Instance.MainPanel);
|
||||||
}
|
}
|
||||||
public static void ShowMapDetailPanel(int id)
|
public static void ShowMapDetailPanel(int id)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user