Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
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
王雪伟
wdlc_mjb_unity
Commits
9248f9d5
Commit
9248f9d5
authored
Jul 03, 2021
by
LiLiuZhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
bf0c3b52
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
404 additions
and
5 deletions
+404
-5
图层 1.png
Assets/Game/Main/Resource/LeePic/CashOut/图层 1.png
+0
-0
图层 1.png.meta
Assets/Game/Main/Resource/LeePic/CashOut/图层 1.png.meta
+92
-0
圆角矩形 1 拷贝.png
Assets/Game/Main/Resource/LeePic/CashOut/圆角矩形 1 拷贝.png
+0
-0
圆角矩形 1 拷贝.png.meta
Assets/Game/Main/Resource/LeePic/CashOut/圆角矩形 1 拷贝.png.meta
+92
-0
圆角矩形 1.png
Assets/Game/Main/Resource/LeePic/CashOut/圆角矩形 1.png
+0
-0
圆角矩形 1.png.meta
Assets/Game/Main/Resource/LeePic/CashOut/圆角矩形 1.png.meta
+92
-0
组 2.png
Assets/Game/Main/Resource/LeePic/CashOut/组 2.png
+0
-0
组 2.png.meta
Assets/Game/Main/Resource/LeePic/CashOut/组 2.png.meta
+92
-0
HomePresenter.cs
Assets/Game/Main/Scripts/Presenter/HomePresenter.cs
+1
-0
PlayerDataControl.cs
Assets/Game/Main/Scripts/Utils/PlayerDataControl.cs
+2
-0
PlantTreeControl.cs
Assets/Game/Main/Scripts/dialog/PlantTreeControl.cs
+33
-5
No files found.
Assets/Game/Main/Resource/LeePic/CashOut/图层 1.png
0 → 100644
View file @
9248f9d5
419 KB
Assets/Game/Main/Resource/LeePic/CashOut/图层 1.png.meta
0 → 100644
View file @
9248f9d5
fileFormatVersion: 2
guid: d495f0028acca324a84b49f2178ff755
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/LeePic/CashOut/圆角矩形 1 拷贝.png
0 → 100644
View file @
9248f9d5
970 Bytes
Assets/Game/Main/Resource/LeePic/CashOut/圆角矩形 1 拷贝.png.meta
0 → 100644
View file @
9248f9d5
fileFormatVersion: 2
guid: f21cc2d80bfe6ce48803b273bd90d2b8
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/LeePic/CashOut/圆角矩形 1.png
0 → 100644
View file @
9248f9d5
984 Bytes
Assets/Game/Main/Resource/LeePic/CashOut/圆角矩形 1.png.meta
0 → 100644
View file @
9248f9d5
fileFormatVersion: 2
guid: 6e59e201bd79e3d46b352dca33e383e9
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/LeePic/CashOut/组 2.png
0 → 100644
View file @
9248f9d5
20.8 KB
Assets/Game/Main/Resource/LeePic/CashOut/组 2.png.meta
0 → 100644
View file @
9248f9d5
fileFormatVersion: 2
guid: c4befe3a8170f2a4f83f7920d1539fc9
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/Scripts/Presenter/HomePresenter.cs
View file @
9248f9d5
...
@@ -69,6 +69,7 @@ public class HomePresenter : HomeContract.Presenter
...
@@ -69,6 +69,7 @@ public class HomePresenter : HomeContract.Presenter
PlayerDataControl
.
Instance
.
NickName
=
bean
.
nickname
;
PlayerDataControl
.
Instance
.
NickName
=
bean
.
nickname
;
PlayerDataControl
.
Instance
.
acceleratorReduceMinute
=
bean
.
acceleratorReduceMinute
;
PlayerDataControl
.
Instance
.
acceleratorReduceMinute
=
bean
.
acceleratorReduceMinute
;
PlayerDataControl
.
Instance
.
rpIconJumpTo
=
(
int
)
bean
.
rpIconJumpTo
;
PlayerDataControl
.
Instance
.
rpIconJumpTo
=
(
int
)
bean
.
rpIconJumpTo
;
PlayerDataControl
.
Instance
.
avaYuan
=
bean
.
avaYuan
;
Guide
.
guide
.
showGuide
(
bean
.
isNewUser
);
Guide
.
guide
.
showGuide
(
bean
.
isNewUser
);
//Guide.guide.showGuide(true);
//Guide.guide.showGuide(true);
mView
.
HomeInfo
(
bean
);
mView
.
HomeInfo
(
bean
);
...
...
Assets/Game/Main/Scripts/Utils/PlayerDataControl.cs
View file @
9248f9d5
...
@@ -85,6 +85,8 @@ public class PlayerDataControl
...
@@ -85,6 +85,8 @@ public class PlayerDataControl
/// 微信昵称
/// 微信昵称
/// </summary>
/// </summary>
public
string
NickName
{
get
;
set
;
}
public
string
NickName
{
get
;
set
;
}
public
double
avaYuan
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否显示协议弹窗
/// 是否显示协议弹窗
/// </summary>
/// </summary>
...
...
Assets/Game/Main/Scripts/dialog/PlantTreeControl.cs
View file @
9248f9d5
...
@@ -34,7 +34,9 @@ public class PlantTreeControl : MonoBehaviour
...
@@ -34,7 +34,9 @@ public class PlantTreeControl : MonoBehaviour
HttpTool
.
Instance
.
_Get
(
"app/v1/wdlc/wd/info"
,
null
,
new
Action
<
WithDrawBean
>((
bean
)
=>
HttpTool
.
Instance
.
_Get
(
"app/v1/wdlc/wd/info"
,
null
,
new
Action
<
WithDrawBean
>((
bean
)
=>
{
{
//InitWithDrawInfo(bean);
//InitWithDrawInfo(bean);
CashOut
.
SetActive
(
true
);
ShowCashOut
();
scrollview1
.
gameObject
.
SetActive
(
false
);
scrollview1
.
gameObject
.
SetActive
(
false
);
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
...
@@ -137,7 +139,7 @@ public class PlantTreeControl : MonoBehaviour
...
@@ -137,7 +139,7 @@ public class PlantTreeControl : MonoBehaviour
public
void
clickone
()
public
void
clickone
()
{
{
scrollview1
.
gameObject
.
SetActive
(
false
);
scrollview1
.
gameObject
.
SetActive
(
false
);
CashOut
.
gameObject
.
SetActive
(
true
);
ShowCashOut
(
);
onepage
.
SetActive
(
true
);
onepage
.
SetActive
(
true
);
twopage
.
SetActive
(
false
);
twopage
.
SetActive
(
false
);
threepage
.
SetActive
(
false
);
threepage
.
SetActive
(
false
);
...
@@ -149,7 +151,7 @@ public class PlantTreeControl : MonoBehaviour
...
@@ -149,7 +151,7 @@ public class PlantTreeControl : MonoBehaviour
public
void
clicktwo
()
public
void
clicktwo
()
{
{
scrollview1
.
gameObject
.
SetActive
(
false
);
scrollview1
.
gameObject
.
SetActive
(
false
);
CashOut
.
gameObject
.
SetActive
(
false
);
HideCashOut
(
);
onepage
.
SetActive
(
false
);
onepage
.
SetActive
(
false
);
twopage
.
SetActive
(
true
);
twopage
.
SetActive
(
true
);
threepage
.
SetActive
(
false
);
threepage
.
SetActive
(
false
);
...
@@ -162,7 +164,7 @@ public class PlantTreeControl : MonoBehaviour
...
@@ -162,7 +164,7 @@ public class PlantTreeControl : MonoBehaviour
public
void
clickthree
()
public
void
clickthree
()
{
{
scrollview1
.
gameObject
.
SetActive
(
true
);
scrollview1
.
gameObject
.
SetActive
(
true
);
CashOut
.
gameObject
.
SetActive
(
false
);
HideCashOut
(
);
onepage
.
SetActive
(
false
);
onepage
.
SetActive
(
false
);
twopage
.
SetActive
(
false
);
twopage
.
SetActive
(
false
);
threepage
.
SetActive
(
true
);
threepage
.
SetActive
(
true
);
...
@@ -187,5 +189,31 @@ public class PlantTreeControl : MonoBehaviour
...
@@ -187,5 +189,31 @@ public class PlantTreeControl : MonoBehaviour
}));
}));
}
}
public
void
ShowCashOut
()
{
CashOut
.
gameObject
.
SetActive
(
true
);
CashOut
.
transform
.
Find
(
"txtProgress"
).
GetComponent
<
Text
>().
text
=
string
.
Format
(
"{0}/300"
,
PlayerDataControl
.
Instance
.
avaYuan
);
CashOut
.
transform
.
Find
(
"imgProgress"
).
GetComponent
<
Image
>().
fillAmount
=
(
float
)
PlayerDataControl
.
Instance
.
avaYuan
/
300
;
CashOut
.
transform
.
Find
(
"btnCashOutNow"
).
GetComponent
<
Button
>().
onClick
.
RemoveAllListeners
();
CashOut
.
transform
.
Find
(
"btnCashOutNow"
).
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
{
if
(
CashOut
.
transform
.
Find
(
"imgProgress"
).
GetComponent
<
Image
>().
fillAmount
==
1
)
{
ToastPlugin
.
ToastHelper
.
ShowToast
(
"视频质量不足,请继续观看视频!"
);
}
else
{
ToastPlugin
.
ToastHelper
.
ShowToast
(
"满300元才能提现哦!"
);
}
});
}
public
void
HideCashOut
()
{
CashOut
.
gameObject
.
SetActive
(
false
);
}
}
}
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