Commit ad9dc027 authored by LiLiuZhou's avatar LiLiuZhou

1

parent 994cebca
......@@ -25,6 +25,7 @@ public class LeeMainController : MonoBehaviour
{
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(() =>
{
ZhongCaiTiXian.gameObject.SetActive(true);
......@@ -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.AddListener(() =>
{
EventUtils.OnEvent("dt_tx_0.3");
DidSelectedToPlanting(woodId);
});
}
......
......@@ -17,13 +17,12 @@ public class NeedMoreEXP : MonoBehaviour
public void Init()
{
//WithDrawDialogBean
transform.Find("btnClose").GetComponent<Button>().onClick.AddListener(Hide);
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)
{
......
......@@ -25,17 +25,33 @@ public class TiXianCell : BasePanel
GetControl<Button>("btnGo").onClick.RemoveAllListeners();
GetControl<Button>("btnGo").onClick.AddListener(() =>
{
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)
{
case 1:
ToastHelper.ShowToast(obj.reason);
LeeMainController.Instance.UpdateZhongCaiTiXianPanel();
return;
case 2:
case 3:
case 7:
ToastHelper.ShowToast(obj.reason);
return;
case 7:
return;
}
EventUtils.OnEvent("jy_ts_click");
DialogControl.Instance.nme.Show(info.id, obj);
});
});
......
This diff is collapsed.
fileFormatVersion: 2
guid: 2ae344869669f6641a05481805b94e98
guid: 0fb6ae71cac081f47978cce83bb901f9
DefaultImporter:
externalObjects: {}
userData:
......
......@@ -210,6 +210,10 @@ public class AdUtils
EventUtils.OnEvent("jingxi_hongbao_video_show", "惊喜红包视频");
}
else if (actionName.Equals("vedio_jy_click"))
{
EventUtils.OnEvent("vedio_jy_click");
}
}
......
This diff is collapsed.
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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment