Commit 91492bc0 authored by zhangzhe's avatar zhangzhe

修改新手引导

parent 897b4647
......@@ -29,6 +29,10 @@ public class LeeMainController : MonoBehaviour
TitleBG2.Find("btnRedBag").GetComponent<Button>().onClick.RemoveAllListeners();
TitleBG2.Find("btnRedBag").GetComponent<Button>().onClick.AddListener(() =>
{
AudioUtils.ins.PlayBtnAudio();
Guide.guide.onClickStep4();
ZhongCaiTiXian.gameObject.SetActive(true);
UpdateZhongCaiTiXianPanel();
......@@ -45,6 +49,8 @@ public class LeeMainController : MonoBehaviour
TitleBG2.Find("Fruit" + i.ToString()).GetComponent<Button>().onClick.RemoveAllListeners();
TitleBG2.Find("Fruit" + i.ToString()).GetComponent<Button>().onClick.AddListener(() =>
{
AudioUtils.ins.PlayBtnAudio();
DidSelectedToPlanting(woodId);
});
}
......
fileFormatVersion: 2
guid: a21270e0d14e54447b08f20f478ee41c
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:
fileFormatVersion: 2
guid: 0d881398504a59f45978cb9234334f42
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:
fileFormatVersion: 2
guid: 9af00548a79ea06428dc6f06f9a135b3
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:
fileFormatVersion: 2
guid: d2c6da2de4c314bbdbcbd75051a3d8d4
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:
......@@ -1948,11 +1948,11 @@ RectTransform:
m_Children:
- {fileID: 915118056}
m_Father: {fileID: 716226832}
m_RootOrder: 12
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 69.630005, y: 285}
m_AnchoredPosition: {x: 69.630005, y: 434}
m_SizeDelta: {x: 136.7032, y: 122.00984}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &54350470
......@@ -7080,7 +7080,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -667}
m_AnchoredPosition: {x: 185, y: -1456}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &227095874
......@@ -7768,7 +7768,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &244231222
RectTransform:
m_ObjectHideFlags: 0
......@@ -8397,7 +8397,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &261466076
RectTransform:
m_ObjectHideFlags: 0
......@@ -9269,7 +9269,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1776466864}
m_RootOrder: 15
m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
......@@ -9433,9 +9433,9 @@ RectTransform:
m_Father: {fileID: 1548415916}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 355, y: -72.5}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 355, y: 0}
m_SizeDelta: {x: 710, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &300181110
......@@ -10093,7 +10093,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 144}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &318501426
......@@ -13804,7 +13804,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &415499552
RectTransform:
m_ObjectHideFlags: 0
......@@ -16503,7 +16503,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1776466864}
m_RootOrder: 14
m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
......@@ -23558,7 +23558,6 @@ RectTransform:
- {fileID: 1612576600}
- {fileID: 1863343229}
- {fileID: 1472916196}
- {fileID: 1861488240}
- {fileID: 52321695}
- {fileID: 1747314418}
m_Father: {fileID: 105570271}
......@@ -41669,7 +41668,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &1348152036
RectTransform:
m_ObjectHideFlags: 0
......@@ -54072,7 +54071,7 @@ RectTransform:
m_Children:
- {fileID: 278303764}
m_Father: {fileID: 716226832}
m_RootOrder: 13
m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
......@@ -54311,7 +54310,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 110, y: 114}
m_SizeDelta: {x: 126, y: 130}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1754124955
MonoBehaviour:
......@@ -54332,7 +54331,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 135edb614ca6a4725a6403f483f69d22, type: 3}
m_Sprite: {fileID: 21300000, guid: d2c6da2de4c314bbdbcbd75051a3d8d4, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
......@@ -55303,6 +55302,7 @@ RectTransform:
- {fileID: 1230170800}
- {fileID: 2026228882}
- {fileID: 244231222}
- {fileID: 1861488240}
- {fileID: 492199887}
- {fileID: 300107173}
- {fileID: 1206812857221506103}
......@@ -55344,7 +55344,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &1785447892
RectTransform:
m_ObjectHideFlags: 0
......@@ -57637,18 +57637,18 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1861488239}
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_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1754124954}
m_Father: {fileID: 716226832}
m_RootOrder: 11
m_Father: {fileID: 1776466864}
m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 69.630005, y: 438}
m_SizeDelta: {x: 136.7032, y: 122.00984}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -143, y: -17.2}
m_SizeDelta: {x: 126, y: 130}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1861639614
GameObject:
......@@ -62041,7 +62041,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -61, y: 559}
m_AnchoredPosition: {x: 225, y: 403}
m_SizeDelta: {x: 97, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!95 &2035028204
......@@ -64231,7 +64231,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: ce65a2a00524549f3978918c7a7bbcec, type: 3}
m_Sprite: {fileID: 21300000, guid: ff8fe5f5113094fbbb0ef45fa9265048, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
......@@ -65747,6 +65747,17 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 2012954743}
m_MethodName: PlayBtnAudio
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!222 &411243071190405156
CanvasRenderer:
m_ObjectHideFlags: 0
......@@ -66894,7 +66905,7 @@ RectTransform:
- {fileID: 982969213621019108}
- {fileID: 1346580110264458050}
m_Father: {fileID: 1776466864}
m_RootOrder: 16
m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
......@@ -68124,7 +68135,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: a92b972480c578f49b17f37485c62a39, type: 3}
m_Sprite: {fileID: 21300000, guid: a21270e0d14e54447b08f20f478ee41c, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
......@@ -70672,6 +70683,17 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 2012954743}
m_MethodName: PlayBtnAudio
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!224 &3118255746577401086
RectTransform:
m_ObjectHideFlags: 0
......@@ -70849,6 +70871,17 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 2012954743}
m_MethodName: PlayBtnAudio
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1 &3118255747880921384
GameObject:
m_ObjectHideFlags: 0
......@@ -78619,7 +78652,7 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
- m_Target: {fileID: 8679686152504046810}
m_MethodName: receiveHeartWithdraw
m_Mode: 1
m_Arguments:
......@@ -78630,6 +78663,17 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 2012954743}
m_MethodName: PlayBtnAudio
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1001 &5716858813443638225
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -83171,7 +83215,7 @@ MonoBehaviour:
dialogButton: {fileID: 2227365736993302226}
dialogButtons:
- {fileID: 21300000, guid: 0e8c4246da657c549a8b2aaeda72a531, type: 3}
- {fileID: 21300000, guid: 738a6f06f16d20a4ab7868eab05e7d8c, type: 3}
- {fileID: 21300000, guid: 9af00548a79ea06428dc6f06f9a135b3, type: 3}
dialogStatus: 0
--- !u!224 &8780601936709880472
RectTransform:
......@@ -191,8 +191,8 @@ public class Guide : MonoBehaviour
if (PlayerPrefs.GetInt(step6Key, 0) == 0)
{
PlayerPrefs.SetInt(step6Key, 1);
Debug.Log("显示第6步");
Step6.SetActive(true);
Debug.Log("显示第7步");
Step7.SetActive(true);
}
//EventUtils.OnEvent("newUser_cashOut", "当日新用户完成引导提现");
//ObjStep5.SetActive(false);
......
......@@ -114,9 +114,9 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
//GameObject SellingVegetables = transform.Find("BottomFun/SellingVegetables").gameObject;
//SellingVegetables.SetActive(Constant.Instance.shubiao);
// 一箱草莓
GameObject Strawberries = transform.Find("BottomFun/Strawberries").gameObject;
Strawberries.SetActive(Constant.Instance.shubiao);
//// 一箱草莓
//GameObject Strawberries = transform.Find("BottomFun/Strawberries").gameObject;
//Strawberries.SetActive(Constant.Instance.shubiao);
// 手速红包
GameObject HandSpeedRedPacketItem = transform.Find("BottomFun/HandSpeedRedPacketItem").gameObject;
......
......@@ -71,30 +71,31 @@ public class EverydayWithdrawControl : MonoBehaviour
public void receiveHeartWithdraw()
{
EventUtils.OnEvent("dt_tttx_hb_btn_click");
HttpTool.Instance._Get("app/v1/waimai/isWxLogin", null, new Action<WithdrawShopBean>((result) =>
{
if (result.status == 0)
{//未登录
//WeChatLoginDialog.instance.ShowWeChatLogin(new Action<bool>((wxLoginResult) =>
WithDraw();
//HttpTool.Instance._Get("app/v1/waimai/isWxLogin", null, new Action<WithdrawShopBean>((result) =>
//{
// if (wxLoginResult)
// {
// WithDraw();
// if (result.status == 0)
// {//未登录
// //WeChatLoginDialog.instance.ShowWeChatLogin(new Action<bool>((wxLoginResult) =>
// //{
// // if (wxLoginResult)
// // {
// // WithDraw();
// // }
// // else
// // {
// // ToastPlugin.ToastHelper.ShowToast("登录失败");
// // }
// //}));
// }
// else
// {
// ToastPlugin.ToastHelper.ShowToast("登录失败");
// {//已登录
// WithDraw();
// }
//}));
}
else
{//已登录
WithDraw();
}
}), new Action<string, string>((code, msg) =>
{
//}), new Action<string, string>((code, msg) =>
//{
}));
//}));
}
private void WithDraw()
......
......@@ -38,6 +38,7 @@ public class EverydayWithdrawItem : MonoBehaviour
*/
public void clickButton()
{
AudioUtils.ins.PlayBtnAudio();
if (data.status == 1) {
EventUtils.OnEvent("every_day_withdraw_page_item_click");
AdUtils.PlayRewardAd("dt_tttx_rw_show", new Action<AdEntity>((adEntity) =>
......
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