Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
First_FKQCW
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
First_FKQCW
Commits
9f3f0871
Commit
9f3f0871
authored
May 13, 2021
by
zxhljwl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
974f346c
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
577 additions
and
71 deletions
+577
-71
收益翻倍.meta
Assets/Game/Main/Resource/Dialog/收益翻倍.meta
+8
-0
btn.png
Assets/Game/Main/Resource/Dialog/收益翻倍/btn.png
+0
-0
btn.png.meta
Assets/Game/Main/Resource/Dialog/收益翻倍/btn.png.meta
+92
-0
底框.png
Assets/Game/Main/Resource/Dialog/收益翻倍/底框.png
+0
-0
底框.png.meta
Assets/Game/Main/Resource/Dialog/收益翻倍/底框.png.meta
+92
-0
按钮.png
Assets/Game/Main/Resource/Dialog/收益翻倍/按钮.png
+0
-0
按钮.png.meta
Assets/Game/Main/Resource/Dialog/收益翻倍/按钮.png.meta
+92
-0
标头.png
Assets/Game/Main/Resource/Dialog/收益翻倍/标头.png
+0
-0
标头.png.meta
Assets/Game/Main/Resource/Dialog/收益翻倍/标头.png.meta
+92
-0
箭头 拷贝 2.png
Assets/Game/Main/Resource/Dialog/收益翻倍/箭头 拷贝 2.png
+0
-0
箭头 拷贝 2.png.meta
Assets/Game/Main/Resource/Dialog/收益翻倍/箭头 拷贝 2.png.meta
+92
-0
CrazyCar.unity
Assets/Game/Main/Scenes/CrazyCar.unity
+16
-16
DialogControl.cs
Assets/Game/Main/Scripts/View/DialogControl.cs
+7
-54
DoubleIncomeDialog.cs
Assets/Game/Main/Scripts/View/DoubleIncomeDialog.cs
+75
-0
DoubleIncomeDialog.cs.meta
Assets/Game/Main/Scripts/View/DoubleIncomeDialog.cs.meta
+11
-0
HomeInfoControl.cs
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
+0
-1
No files found.
Assets/Game/Main/Resource/Dialog/收益翻倍.meta
0 → 100644
View file @
9f3f0871
fileFormatVersion: 2
guid: b54c07bde9fe48f4eb89bc6764b13ec7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Resource/Dialog/收益翻倍/btn.png
0 → 100644
View file @
9f3f0871
20.4 KB
Assets/Game/Main/Resource/Dialog/收益翻倍/btn.png.meta
0 → 100644
View file @
9f3f0871
fileFormatVersion: 2
guid: f62bbfac28f026f43bddfb7f7b01491e
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Resource/Dialog/收益翻倍/底框.png
0 → 100644
View file @
9f3f0871
48 KB
Assets/Game/Main/Resource/Dialog/收益翻倍/底框.png.meta
0 → 100644
View file @
9f3f0871
fileFormatVersion: 2
guid: 3e20780ea427a23498e349914b5bd1e6
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Resource/Dialog/收益翻倍/按钮.png
0 → 100644
View file @
9f3f0871
9 KB
Assets/Game/Main/Resource/Dialog/收益翻倍/按钮.png.meta
0 → 100644
View file @
9f3f0871
fileFormatVersion: 2
guid: 0b1f57a4f68cb324ea0a11b28a409fe3
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Resource/Dialog/收益翻倍/标头.png
0 → 100644
View file @
9f3f0871
34.9 KB
Assets/Game/Main/Resource/Dialog/收益翻倍/标头.png.meta
0 → 100644
View file @
9f3f0871
fileFormatVersion: 2
guid: 7b2e916010939264cbaeabb6d59fa5c4
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Resource/Dialog/收益翻倍/箭头 拷贝 2.png
0 → 100644
View file @
9f3f0871
26.5 KB
Assets/Game/Main/Resource/Dialog/收益翻倍/箭头 拷贝 2.png.meta
0 → 100644
View file @
9f3f0871
fileFormatVersion: 2
guid: 360d9145530cf2549a278607d0aad462
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Scenes/CrazyCar.unity
View file @
9f3f0871
...
@@ -5622,7 +5622,7 @@ RectTransform:
...
@@ -5622,7 +5622,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition
:
{
x
:
0
,
y
:
-2
69
}
m_AnchoredPosition: {x: 0, y: -2
57
}
m_SizeDelta: {x: 464, y: 58.400818}
m_SizeDelta: {x: 464, y: 58.400818}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &326292426
--- !u!114 &326292426
...
@@ -7866,10 +7866,10 @@ RectTransform:
...
@@ -7866,10 +7866,10 @@ RectTransform:
m_Father: {fileID: 300181109}
m_Father: {fileID: 300181109}
m_RootOrder: 0
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin
:
{
x
:
0
,
y
:
0
}
m_AnchorMin: {x: 0, y:
1
}
m_AnchorMax
:
{
x
:
0
,
y
:
0
}
m_AnchorMax: {x: 0, y:
1
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
0
}
m_AnchoredPosition: {x:
93.36, y: -45.84
}
m_SizeDelta
:
{
x
:
0
,
y
:
0
}
m_SizeDelta: {x:
126.72, y: 31.68
}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &409306806
--- !u!114 &409306806
MonoBehaviour:
MonoBehaviour:
...
@@ -18123,7 +18123,7 @@ RectTransform:
...
@@ -18123,7 +18123,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta
:
{
x
:
664
,
y
:
720
}
m_SizeDelta: {x:
720, y: 653
}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &984387229
--- !u!114 &984387229
MonoBehaviour:
MonoBehaviour:
...
@@ -18144,7 +18144,7 @@ MonoBehaviour:
...
@@ -18144,7 +18144,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_OnCullStateChanged:
m_PersistentCalls:
m_PersistentCalls:
m_Calls: []
m_Calls: []
m_Sprite
:
{
fileID
:
21300000
,
guid
:
1bc6550caee92534eafd254e79084d70
,
type
:
3
}
m_Sprite: {fileID: 21300000, guid:
8629157f97fc4db4f9160d29b783836a
, type: 3}
m_Type: 0
m_Type: 0
m_PreserveAspect: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillCenter: 1
...
@@ -21246,7 +21246,7 @@ RectTransform:
...
@@ -21246,7 +21246,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition
:
{
x
:
0
,
y
:
-1
62
}
m_AnchoredPosition: {x: 0, y: -1
74
}
m_SizeDelta: {x: 543, y: 135}
m_SizeDelta: {x: 543, y: 135}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1203470291
--- !u!114 &1203470291
...
@@ -30216,7 +30216,7 @@ GameObject:
...
@@ -30216,7 +30216,7 @@ GameObject:
m_Icon: {fileID: 0}
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_StaticEditorFlags: 0
m_IsActive
:
1
m_IsActive:
0
--- !u!224 &1818874221
--- !u!224 &1818874221
RectTransform:
RectTransform:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -30236,7 +30236,7 @@ RectTransform:
...
@@ -30236,7 +30236,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition
:
{
x
:
0
,
y
:
87
}
m_AnchoredPosition: {x: 0, y:
55
}
m_SizeDelta: {x: 112, y: 142}
m_SizeDelta: {x: 112, y: 142}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1818874222
--- !u!114 &1818874222
...
@@ -30964,10 +30964,10 @@ RectTransform:
...
@@ -30964,10 +30964,10 @@ RectTransform:
m_Father: {fileID: 300181109}
m_Father: {fileID: 300181109}
m_RootOrder: 1
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin
:
{
x
:
0
,
y
:
0
}
m_AnchorMin: {x: 0, y:
1
}
m_AnchorMax
:
{
x
:
0
,
y
:
0
}
m_AnchorMax: {x: 0, y:
1
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
0
}
m_AnchoredPosition: {x:
30, y: -97.04
}
m_SizeDelta
:
{
x
:
0
,
y
:
0
}
m_SizeDelta: {x: 0, y:
30.720001
}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1853878469
--- !u!114 &1853878469
MonoBehaviour:
MonoBehaviour:
...
@@ -31316,7 +31316,7 @@ GameObject:
...
@@ -31316,7 +31316,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 &1869528321
--- !u!224 &1869528321
RectTransform:
RectTransform:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -31333,7 +31333,7 @@ RectTransform:
...
@@ -31333,7 +31333,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition
:
{
x
:
0
,
y
:
61
}
m_AnchoredPosition: {x: 0, y:
30
}
m_SizeDelta: {x: 146, y: 185}
m_SizeDelta: {x: 146, y: 185}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1869528322
--- !u!114 &1869528322
...
...
Assets/Game/Main/Scripts/View/DialogControl.cs
View file @
9f3f0871
...
@@ -21,7 +21,7 @@ public class DialogControl : MonoBehaviour
...
@@ -21,7 +21,7 @@ public class DialogControl : MonoBehaviour
{
{
EventCenter
.
AddListener
<
VideoStatusBean
>(
MyEventType
.
WATET_DIALOG
,
OnUseWaterByVideo
);
EventCenter
.
AddListener
<
VideoStatusBean
>(
MyEventType
.
WATET_DIALOG
,
OnUseWaterByVideo
);
EventCenter
.
AddListener
<
RewardBean
>(
MyEventType
.
REWARD_DIALOG
,
OnOpenRewardDialog
);
EventCenter
.
AddListener
<
RewardBean
>(
MyEventType
.
REWARD_DIALOG
,
OnOpenRewardDialog
);
EventCenter
.
AddListener
(
MyEventType
.
DOUBLE_DIALOG
,
On
UseDoubleCoin
);
EventCenter
.
AddListener
(
MyEventType
.
DOUBLE_DIALOG
,
On
ClickShowDoubleDialog
);
EventCenter
.
AddListener
(
MyEventType
.
ALL_SPEED_DIALOG
,
OnUseAllSpeed
);
EventCenter
.
AddListener
(
MyEventType
.
ALL_SPEED_DIALOG
,
OnUseAllSpeed
);
EventCenter
.
AddListener
<
WithDrawDialogBean
>(
MyEventType
.
WITHDRAW_DIALOG
,
OnWithDrawDialog
);
EventCenter
.
AddListener
<
WithDrawDialogBean
>(
MyEventType
.
WITHDRAW_DIALOG
,
OnWithDrawDialog
);
}
}
...
@@ -31,7 +31,7 @@ public class DialogControl : MonoBehaviour
...
@@ -31,7 +31,7 @@ public class DialogControl : MonoBehaviour
{
{
EventCenter
.
RemoveListener
<
VideoStatusBean
>(
MyEventType
.
WATET_DIALOG
,
OnUseWaterByVideo
);
EventCenter
.
RemoveListener
<
VideoStatusBean
>(
MyEventType
.
WATET_DIALOG
,
OnUseWaterByVideo
);
EventCenter
.
RemoveListener
<
RewardBean
>(
MyEventType
.
REWARD_DIALOG
,
OnOpenRewardDialog
);
EventCenter
.
RemoveListener
<
RewardBean
>(
MyEventType
.
REWARD_DIALOG
,
OnOpenRewardDialog
);
EventCenter
.
RemoveListener
(
MyEventType
.
DOUBLE_DIALOG
,
On
UseDoubleCoin
);
EventCenter
.
RemoveListener
(
MyEventType
.
DOUBLE_DIALOG
,
On
ClickShowDoubleDialog
);
EventCenter
.
RemoveListener
(
MyEventType
.
ALL_SPEED_DIALOG
,
OnUseAllSpeed
);
EventCenter
.
RemoveListener
(
MyEventType
.
ALL_SPEED_DIALOG
,
OnUseAllSpeed
);
EventCenter
.
RemoveListener
<
WithDrawDialogBean
>(
MyEventType
.
WITHDRAW_DIALOG
,
OnWithDrawDialog
);
EventCenter
.
RemoveListener
<
WithDrawDialogBean
>(
MyEventType
.
WITHDRAW_DIALOG
,
OnWithDrawDialog
);
}
}
...
@@ -171,36 +171,15 @@ public class DialogControl : MonoBehaviour
...
@@ -171,36 +171,15 @@ public class DialogControl : MonoBehaviour
}));
}));
}
}
/// <summary>
/// <summary>
/// 显示
使用
双倍收益弹窗
/// 显示双倍收益弹窗
/// </summary>
/// </summary>
p
rivate
void
OnUseDoubleCoin
()
p
ublic
void
OnClickShowDoubleDialog
()
{
{
parm
.
Clear
();
AudioUtils
.
ins
.
PlayBtnAudio
();
parm
[
"slot"
]
=
"doubling_reward"
;
doubleDialogObj
.
SetActive
(
true
);
HttpTool
.
Instance
.
_Get
(
"app/v1/game/reward_video/status"
,
parm
,
new
Action
<
VideoStatusBean
>((
bean
)
=>
{
if
(
bean
.
status
==
1
)
{
useDoubleCoinByVideoNumTv
.
text
=
"今天剩余"
+
bean
.
playNum
+
"次"
;
doubleDialogObj
.
SetActive
(
true
);
AdUtils
.
ShowFeedAd
(
"double"
);
}
else
{
ToastPlugin
.
ToastHelper
.
ShowToast
(
bean
.
msg
);
}
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
Debug
.
unityLogger
.
Log
(
"双倍收益检查 请求失败"
+
code
+
errMsg
);
}));
}
}
/// <summary>
/// <summary>
/// 关闭双倍收益弹窗
/// 关闭双倍收益弹窗
/// </summary>
/// </summary>
...
@@ -211,32 +190,6 @@ public class DialogControl : MonoBehaviour
...
@@ -211,32 +190,6 @@ public class DialogControl : MonoBehaviour
AdUtils
.
CloseFeedAd
();
AdUtils
.
CloseFeedAd
();
}
}
/// <summary>
/// 使用双倍收益
/// </summary>
public
void
OnClcikUseDoubleCoin
()
{
OnClickCloseDoubleDialog
();
AdUtils
.
PlayRewardAd
(
"doubling_reward"
,
new
Action
<
bool
>((
cb
)
=>
{
if
(
cb
)
{
HttpTool
.
Instance
.
_Post
(
"app/v1/game/fkqcw/doubling/incr_time_by_video"
,
parm
,
new
Action
<
VideoStatusBean
>((
bean
)
=>
{
EventCenter
.
Broadcast
(
MyEventType
.
UPDATE_CAR_LIST_DATA
);
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
Debug
.
unityLogger
.
Log
(
"双倍收益 请求失败"
+
code
+
errMsg
);
}));
}
}));
}
/// <summary>
/// <summary>
/// 关闭使用加速剂弹窗
/// 关闭使用加速剂弹窗
/// </summary>
/// </summary>
...
...
Assets/Game/Main/Scripts/View/DoubleIncomeDialog.cs
0 → 100644
View file @
9f3f0871
using
System
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
UnityEngine.UI
;
public
class
DoubleIncomeDialog
:
MonoBehaviour
{
public
Text
useDoubleCoinByVideoNumTv
;
public
int
doubleCountdownSecond
;
void
OnEnable
()
{
OnUseDoubleCoin
();
}
/// <summary>
/// 显示使用双倍收益弹窗
/// </summary>
private
void
OnUseDoubleCoin
()
{
//获取双倍收益倒计时
HttpTool
.
Instance
.
_Get
(
"app/v1/game/fkqcw/parking/info"
,
null
,
new
Action
<
ParkInfoBean
>((
bean
)
=>
{
if
(
null
!=
bean
)
{
if
(
bean
.
doubleCountdownSecond
>
0
)
{
}
}
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
Debug
.
unityLogger
.
Log
(
"Get 请求失败"
+
code
+
errMsg
);
}));
//获取剩余次数
Dictionary
<
string
,
object
>
parm
=
new
Dictionary
<
string
,
object
>();
parm
[
"slot"
]
=
"doubling_reward"
;
HttpTool
.
Instance
.
_Get
(
"app/v1/game/reward_video/status"
,
parm
,
new
Action
<
VideoStatusBean
>((
bean
)
=>
{
if
(
bean
.
status
==
1
)
{
useDoubleCoinByVideoNumTv
.
text
=
"剩余次数:"
+
bean
.
playNum
+
"次"
;
AdUtils
.
ShowFeedAd
(
"double"
);
}
else
{
ToastPlugin
.
ToastHelper
.
ShowToast
(
bean
.
msg
);
}
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
Debug
.
unityLogger
.
Log
(
"双倍收益检查 请求失败"
+
code
+
errMsg
);
}));
}
/// <summary>
/// 使用双倍收益
/// </summary>
public
void
OnClcikUseDoubleCoin
()
{
GameObject
.
Find
(
"Dialog"
).
GetComponent
<
DialogControl
>().
OnClickCloseDoubleDialog
();
AdUtils
.
PlayRewardAd
(
"doubling_reward"
,
new
Action
<
bool
>((
cb
)
=>
{
if
(
cb
)
{
HttpTool
.
Instance
.
_Post
(
"app/v1/game/fkqcw/doubling/incr_time_by_video"
,
null
,
new
Action
<
VideoStatusBean
>((
bean
)
=>
{
EventCenter
.
Broadcast
(
MyEventType
.
UPDATE_CAR_LIST_DATA
);
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
Debug
.
unityLogger
.
Log
(
"双倍收益 请求失败"
+
code
+
errMsg
);
}));
}
}));
}
}
Assets/Game/Main/Scripts/View/DoubleIncomeDialog.cs.meta
0 → 100644
View file @
9f3f0871
fileFormatVersion: 2
guid: 9ebe6b0d02cd99445a7eed6331d9522a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
View file @
9f3f0871
...
@@ -62,7 +62,6 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
...
@@ -62,7 +62,6 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
{
{
EventCenter
.
Broadcast
(
MyEventType
.
DOUBLE_DIALOG
);
EventCenter
.
Broadcast
(
MyEventType
.
DOUBLE_DIALOG
);
}
}
}
}
/// <summary>
/// <summary>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment