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
ad9dc027
Commit
ad9dc027
authored
Jul 03, 2021
by
LiLiuZhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
994cebca
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1601 additions
and
1415 deletions
+1601
-1415
LeeMainController.cs
Assets/Game/Main/Resource/LeeScripts/LeeMainController.cs
+1
-1
NeedMoreEXP.cs
Assets/Game/Main/Resource/LeeScripts/NeedMoreEXP.cs
+1
-2
TiXianCell.cs
Assets/Game/Main/Resource/LeeScripts/TiXianCell.cs
+17
-1
CrazyCar.unity
Assets/Game/Main/Scenes/CrazyCar.unity
+829
-754
CrazyCar.unity.meta
Assets/Game/Main/Scenes/CrazyCar.unity.meta
+1
-1
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+4
-0
Cell.prefab
Assets/Resources/Cell.prefab
+656
-656
种树提现.png
Assets/Resources/Fruit/种树提现.png
+0
-0
种树提现.png.meta
Assets/Resources/Fruit/种树提现.png.meta
+92
-0
No files found.
Assets/Game/Main/Resource/LeeScripts/LeeMainController.cs
View file @
ad9dc027
...
@@ -25,6 +25,7 @@ public class LeeMainController : MonoBehaviour
...
@@ -25,6 +25,7 @@ public class LeeMainController : MonoBehaviour
{
{
DialogControl
.
Instance
.
NetWorkRequest
<
HomeTitleInfo
>(
true
,
"/app/v2/cscmnq/first_info"
,
null
,
(
model
)
=>
DialogControl
.
Instance
.
NetWorkRequest
<
HomeTitleInfo
>(
true
,
"/app/v2/cscmnq/first_info"
,
null
,
(
model
)
=>
{
{
TitleBG2
.
Find
(
"btnRedBag"
).
GetComponent
<
Button
>().
onClick
.
RemoveAllListeners
();
TitleBG2
.
Find
(
"btnRedBag"
).
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
TitleBG2
.
Find
(
"btnRedBag"
).
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
{
{
ZhongCaiTiXian
.
gameObject
.
SetActive
(
true
);
ZhongCaiTiXian
.
gameObject
.
SetActive
(
true
);
...
@@ -43,7 +44,6 @@ public class LeeMainController : MonoBehaviour
...
@@ -43,7 +44,6 @@ public class LeeMainController : MonoBehaviour
TitleBG2
.
Find
(
"Fruit"
+
i
.
ToString
()).
GetComponent
<
Button
>().
onClick
.
RemoveAllListeners
();
TitleBG2
.
Find
(
"Fruit"
+
i
.
ToString
()).
GetComponent
<
Button
>().
onClick
.
RemoveAllListeners
();
TitleBG2
.
Find
(
"Fruit"
+
i
.
ToString
()).
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
TitleBG2
.
Find
(
"Fruit"
+
i
.
ToString
()).
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
{
{
EventUtils
.
OnEvent
(
"dt_tx_0.3"
);
DidSelectedToPlanting
(
woodId
);
DidSelectedToPlanting
(
woodId
);
});
});
}
}
...
...
Assets/Game/Main/Resource/LeeScripts/NeedMoreEXP.cs
View file @
ad9dc027
...
@@ -17,13 +17,12 @@ public class NeedMoreEXP : MonoBehaviour
...
@@ -17,13 +17,12 @@ public class NeedMoreEXP : MonoBehaviour
public
void
Init
()
public
void
Init
()
{
{
//WithDrawDialogBean
//WithDrawDialogBean
transform
.
Find
(
"btnClose"
).
GetComponent
<
Button
>().
onClick
.
AddListener
(
Hide
);
transform
.
Find
(
"btnClose"
).
GetComponent
<
Button
>().
onClick
.
AddListener
(
Hide
);
transform
.
Find
(
"MainBK/btnOK"
).
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
transform
.
Find
(
"MainBK/btnOK"
).
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
{
{
AdUtils
.
PlayRewardAd
(
"
GET_EXP
"
,
new
Action
<
bool
>((
cb
)
=>
AdUtils
.
PlayRewardAd
(
"
vedio_jy_click
"
,
new
Action
<
bool
>((
cb
)
=>
{
{
if
(
cb
)
if
(
cb
)
{
{
...
...
Assets/Game/Main/Resource/LeeScripts/TiXianCell.cs
View file @
ad9dc027
...
@@ -25,17 +25,33 @@ public class TiXianCell : BasePanel
...
@@ -25,17 +25,33 @@ public class TiXianCell : BasePanel
GetControl
<
Button
>(
"btnGo"
).
onClick
.
RemoveAllListeners
();
GetControl
<
Button
>(
"btnGo"
).
onClick
.
RemoveAllListeners
();
GetControl
<
Button
>(
"btnGo"
).
onClick
.
AddListener
(()
=>
GetControl
<
Button
>(
"btnGo"
).
onClick
.
AddListener
(()
=>
{
{
DialogControl
.
Instance
.
NetWorkRequest
<
WithDrawDialogBean
>(
false
,
"app/v2/cscmnq/do_wd"
,
new
Dictionary
<
string
,
object
>()
{
{
"wdId"
,(
int
)
info
.
id
}
},(
obj
)=>
DialogControl
.
Instance
.
NetWorkRequest
<
WithDrawDialogBean
>(
false
,
"app/v2/cscmnq/do_wd"
,
new
Dictionary
<
string
,
object
>()
{
{
"wdId"
,(
int
)
info
.
id
}
},(
obj
)=>
{
{
if
((
int
)
info
.
id
==
1
)
{
//如果id为1 则提现0.3元
EventUtils
.
OnEvent
(
"dt_tx_0.3"
);
}
EventUtils
.
OnEvent
(
"rw_zctx_click"
);
switch
(
obj
.
status
)
switch
(
obj
.
status
)
{
{
case
1
:
case
1
:
ToastHelper
.
ShowToast
(
obj
.
reason
);
LeeMainController
.
Instance
.
UpdateZhongCaiTiXianPanel
();
return
;
case
2
:
case
2
:
case
3
:
case
3
:
case
7
:
ToastHelper
.
ShowToast
(
obj
.
reason
);
ToastHelper
.
ShowToast
(
obj
.
reason
);
return
;
return
;
case
7
:
return
;
}
}
EventUtils
.
OnEvent
(
"jy_ts_click"
);
DialogControl
.
Instance
.
nme
.
Show
(
info
.
id
,
obj
);
DialogControl
.
Instance
.
nme
.
Show
(
info
.
id
,
obj
);
});
});
});
});
...
...
Assets/Game/Main/Scenes/CrazyCar.unity
View file @
ad9dc027
This diff is collapsed.
Click to expand it.
Assets/Game/Main/Scenes/CrazyCar.unity.meta
View file @
ad9dc027
fileFormatVersion: 2
fileFormatVersion: 2
guid:
2ae344869669f6641a05481805b94e98
guid:
0fb6ae71cac081f47978cce83bb901f9
DefaultImporter:
DefaultImporter:
externalObjects: {}
externalObjects: {}
userData:
userData:
...
...
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
ad9dc027
...
@@ -210,6 +210,10 @@ public class AdUtils
...
@@ -210,6 +210,10 @@ public class AdUtils
EventUtils
.
OnEvent
(
"jingxi_hongbao_video_show"
,
"惊喜红包视频"
);
EventUtils
.
OnEvent
(
"jingxi_hongbao_video_show"
,
"惊喜红包视频"
);
}
}
else
if
(
actionName
.
Equals
(
"vedio_jy_click"
))
{
EventUtils
.
OnEvent
(
"vedio_jy_click"
);
}
}
}
...
...
Assets/Resources/Cell.prefab
View file @
ad9dc027
This diff is collapsed.
Click to expand it.
Assets/Resources/Fruit/种树提现.png
0 → 100644
View file @
ad9dc027
552 KB
Assets/Resources/Fruit/种树提现.png.meta
0 → 100644
View file @
ad9dc027
fileFormatVersion: 2
guid: 2e038c1e47800be4f96da129cc6af7d2
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:
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