Commit b9b2c0f0 authored by zhangzhe's avatar zhangzhe

手速红包

parent 26edaaee
fileFormatVersion: 2 fileFormatVersion: 2
guid: 061832186fb52e04493c5ad853831d73 guid: 061832186fb52e04493c5ad853831d73
timeCreated: 1486114863
licenseType: Store
TextureImporter: TextureImporter:
fileIDToRecycleName: {} internalIDToNameTable: []
serializedVersion: 2 externalObjects: {}
serializedVersion: 11
mipmaps: mipmaps:
mipMapMode: 0 mipMapMode: 0
enableMipMap: 1 enableMipMap: 0
sRGBTexture: 1
linearTexture: 0 linearTexture: 0
correctGamma: 0
fadeOut: 0 fadeOut: 0
borderMipMap: 0 borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1 mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3 mipMapFadeDistanceEnd: 3
bumpmap: bumpmap:
convertToNormalMap: 0 convertToNormalMap: 0
externalNormalMap: 0 externalNormalMap: 0
heightScale: .25 heightScale: 0.25
normalMapFilter: 0 normalMapFilter: 0
isReadable: 0 isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0 grayScaleToAlpha: 0
generateCubemap: 0 generateCubemap: 6
cubemapConvolution: 0 cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0 seamlessCubemap: 0
textureFormat: -1 textureFormat: -1
maxTextureSize: 2048 maxTextureSize: 2048
textureSettings: textureSettings:
filterMode: -1 serializedVersion: 2
aniso: -1 filterMode: 0
mipBias: -1 aniso: 1
wrapMode: -1 mipBias: -100
nPOTScale: 1 wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0 lightmap: 0
rGBM: 0
compressionQuality: 50 compressionQuality: 50
spriteMode: 0 spriteMode: 0
spriteExtrude: 1 spriteExtrude: 1
spriteMeshType: 1 spriteMeshType: 1
alignment: 0 alignment: 0
spritePivot: {x: .5, y: .5} spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100 spritePixelsToUnits: 100
alphaIsTransparency: 0 spriteBorder: {x: 0, y: 0, z: 0, w: 0}
textureType: -1 spriteGenerateFallbackPhysicsShape: 1
buildTargetSettings: [] alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 32
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2
sprites: [] sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag: spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:
fileFormatVersion: 2 fileFormatVersion: 2
guid: de7931d4e05562046bceafcb92cab56e guid: de7931d4e05562046bceafcb92cab56e
timeCreated: 1492774441
licenseType: Store
TextureImporter: TextureImporter:
fileIDToRecycleName: {} internalIDToNameTable: []
serializedVersion: 2 externalObjects: {}
serializedVersion: 11
mipmaps: mipmaps:
mipMapMode: 0 mipMapMode: 0
enableMipMap: 1 enableMipMap: 0
sRGBTexture: 1
linearTexture: 0 linearTexture: 0
correctGamma: 0
fadeOut: 0 fadeOut: 0
borderMipMap: 0 borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1 mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3 mipMapFadeDistanceEnd: 3
bumpmap: bumpmap:
convertToNormalMap: 0 convertToNormalMap: 0
externalNormalMap: 0 externalNormalMap: 0
heightScale: .25 heightScale: 0.25
normalMapFilter: 0 normalMapFilter: 0
isReadable: 0 isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0 grayScaleToAlpha: 0
generateCubemap: 0 generateCubemap: 6
cubemapConvolution: 0 cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0 seamlessCubemap: 0
textureFormat: -1 textureFormat: -1
maxTextureSize: 2048 maxTextureSize: 2048
textureSettings: textureSettings:
filterMode: -1 serializedVersion: 2
aniso: -1 filterMode: 0
mipBias: -1 aniso: 1
wrapMode: -1 mipBias: -100
nPOTScale: 1 wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0 lightmap: 0
rGBM: 0
compressionQuality: 50 compressionQuality: 50
spriteMode: 0 spriteMode: 0
spriteExtrude: 1 spriteExtrude: 1
spriteMeshType: 1 spriteMeshType: 1
alignment: 0 alignment: 0
spritePivot: {x: .5, y: .5} spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100 spritePixelsToUnits: 100
alphaIsTransparency: 0 spriteBorder: {x: 0, y: 0, z: 0, w: 0}
textureType: -1 spriteGenerateFallbackPhysicsShape: 1
buildTargetSettings: [] alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 32
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2
sprites: [] sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag: spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:
fileFormatVersion: 2 fileFormatVersion: 2
guid: 79519e6f806524c4fb963c3aa0b23fc4 guid: 79519e6f806524c4fb963c3aa0b23fc4
timeCreated: 1492072406
licenseType: Store
TextureImporter: TextureImporter:
fileIDToRecycleName: {} internalIDToNameTable: []
serializedVersion: 2 externalObjects: {}
serializedVersion: 11
mipmaps: mipmaps:
mipMapMode: 0 mipMapMode: 0
enableMipMap: 1 enableMipMap: 0
sRGBTexture: 1
linearTexture: 0 linearTexture: 0
correctGamma: 0
fadeOut: 0 fadeOut: 0
borderMipMap: 0 borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1 mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3 mipMapFadeDistanceEnd: 3
bumpmap: bumpmap:
convertToNormalMap: 0 convertToNormalMap: 0
externalNormalMap: 0 externalNormalMap: 0
heightScale: .25 heightScale: 0.25
normalMapFilter: 0 normalMapFilter: 0
isReadable: 0 isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0 grayScaleToAlpha: 0
generateCubemap: 0 generateCubemap: 6
cubemapConvolution: 0 cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0 seamlessCubemap: 0
textureFormat: -1 textureFormat: -1
maxTextureSize: 2048 maxTextureSize: 2048
textureSettings: textureSettings:
filterMode: -1 serializedVersion: 2
aniso: -1 filterMode: 0
mipBias: -1 aniso: 1
wrapMode: -1 mipBias: -100
nPOTScale: 1 wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0 lightmap: 0
rGBM: 0
compressionQuality: 50 compressionQuality: 50
spriteMode: 0 spriteMode: 0
spriteExtrude: 1 spriteExtrude: 1
spriteMeshType: 1 spriteMeshType: 1
alignment: 0 alignment: 0
spritePivot: {x: .5, y: .5} spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100 spritePixelsToUnits: 100
alphaIsTransparency: 0 spriteBorder: {x: 0, y: 0, z: 0, w: 0}
textureType: -1 spriteGenerateFallbackPhysicsShape: 1
buildTargetSettings: [] alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 32
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2
sprites: [] sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag: spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:
fileFormatVersion: 2 fileFormatVersion: 2
guid: 5ca7b0c48e4ac8d4484a7204ec99e586 guid: 5ca7b0c48e4ac8d4484a7204ec99e586
timeCreated: 1492072406
licenseType: Store
TextureImporter: TextureImporter:
fileIDToRecycleName: {} internalIDToNameTable: []
serializedVersion: 2 externalObjects: {}
serializedVersion: 11
mipmaps: mipmaps:
mipMapMode: 0 mipMapMode: 0
enableMipMap: 1 enableMipMap: 0
sRGBTexture: 1
linearTexture: 0 linearTexture: 0
correctGamma: 0
fadeOut: 0 fadeOut: 0
borderMipMap: 0 borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1 mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3 mipMapFadeDistanceEnd: 3
bumpmap: bumpmap:
convertToNormalMap: 0 convertToNormalMap: 0
externalNormalMap: 0 externalNormalMap: 0
heightScale: .25 heightScale: 0.25
normalMapFilter: 0 normalMapFilter: 0
isReadable: 0 isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0 grayScaleToAlpha: 0
generateCubemap: 0 generateCubemap: 6
cubemapConvolution: 0 cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0 seamlessCubemap: 0
textureFormat: -1 textureFormat: -1
maxTextureSize: 2048 maxTextureSize: 2048
textureSettings: textureSettings:
filterMode: -1 serializedVersion: 2
aniso: -1 filterMode: 0
mipBias: -1 aniso: 1
wrapMode: -1 mipBias: -100
nPOTScale: 1 wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0 lightmap: 0
rGBM: 0
compressionQuality: 50 compressionQuality: 50
spriteMode: 0 spriteMode: 0
spriteExtrude: 1 spriteExtrude: 1
spriteMeshType: 1 spriteMeshType: 1
alignment: 0 alignment: 0
spritePivot: {x: .5, y: .5} spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100 spritePixelsToUnits: 100
alphaIsTransparency: 0 spriteBorder: {x: 0, y: 0, z: 0, w: 0}
textureType: -1 spriteGenerateFallbackPhysicsShape: 1
buildTargetSettings: [] alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 32
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2
sprites: [] sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag: spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:
fileFormatVersion: 2 fileFormatVersion: 2
guid: 8b9eafac1476c7c4d85bf9a23e37b1e4 guid: 8b9eafac1476c7c4d85bf9a23e37b1e4
timeCreated: 1492072406
licenseType: Store
TextureImporter: TextureImporter:
fileIDToRecycleName: {} internalIDToNameTable: []
serializedVersion: 2 externalObjects: {}
serializedVersion: 11
mipmaps: mipmaps:
mipMapMode: 0 mipMapMode: 0
enableMipMap: 1 enableMipMap: 0
sRGBTexture: 1
linearTexture: 0 linearTexture: 0
correctGamma: 0
fadeOut: 0 fadeOut: 0
borderMipMap: 0 borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1 mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3 mipMapFadeDistanceEnd: 3
bumpmap: bumpmap:
convertToNormalMap: 0 convertToNormalMap: 0
externalNormalMap: 0 externalNormalMap: 0
heightScale: .25 heightScale: 0.25
normalMapFilter: 0 normalMapFilter: 0
isReadable: 0 isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0 grayScaleToAlpha: 0
generateCubemap: 0 generateCubemap: 6
cubemapConvolution: 0 cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0 seamlessCubemap: 0
textureFormat: -1 textureFormat: -1
maxTextureSize: 2048 maxTextureSize: 2048
textureSettings: textureSettings:
filterMode: -1 serializedVersion: 2
aniso: -1 filterMode: 0
mipBias: -1 aniso: 1
wrapMode: -1 mipBias: -100
nPOTScale: 1 wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0 lightmap: 0
rGBM: 0
compressionQuality: 50 compressionQuality: 50
spriteMode: 0 spriteMode: 0
spriteExtrude: 1 spriteExtrude: 1
spriteMeshType: 1 spriteMeshType: 1
alignment: 0 alignment: 0
spritePivot: {x: .5, y: .5} spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100 spritePixelsToUnits: 100
alphaIsTransparency: 0 spriteBorder: {x: 0, y: 0, z: 0, w: 0}
textureType: -1 spriteGenerateFallbackPhysicsShape: 1
buildTargetSettings: [] alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 32
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2
sprites: [] sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag: spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:
...@@ -19,8 +19,8 @@ public class Constant ...@@ -19,8 +19,8 @@ public class Constant
/// </summary> /// </summary>
public bool IsTestNet{ get; set; } public bool IsTestNet{ get; set; }
//微信key //微信key
public string WX_APP_ID= "wxd0f4e1438c9ddcad"; public string WX_APP_ID= "wx10f8dcecdcf26ab7";
public string WX_APP_Key= "dc063d5e4542c4777f47033bcbbc433d"; public string WX_APP_Key= "bfa522c1b6be52727795b726b788181a";
public string universalLink = "https://feedapi.zhangxineducation.com/iosdiandiancy/"; public string universalLink = "https://feedapi.zhangxineducation.com/iosdiandiancy/";
// 友盟key ios // 友盟key ios
...@@ -28,7 +28,7 @@ public class Constant ...@@ -28,7 +28,7 @@ public class Constant
{ {
get get
{ {
return "60b5ec15dd01c71b57cf5091"; return "609a589b53b6726499f8543d";
} }
} }
public string Token { get; set; } public string Token { get; set; }
...@@ -39,7 +39,7 @@ public class Constant ...@@ -39,7 +39,7 @@ public class Constant
{ {
get get
{ {
return "e13d3d614ff61dfe"; return "892467fd69100919";
} }
} }
...@@ -108,10 +108,16 @@ public class Constant ...@@ -108,10 +108,16 @@ public class Constant
/// </summary> /// </summary>
public string PrivacyPolicy { get; set; } public string PrivacyPolicy { get; set; }
/// <summary> /// <summary>
/// 开屏时间 /// app进入后台多久后打开app显示开屏广告
/// (单位:秒)
/// </summary> /// </summary>
public int splash_time { get; set; } public int splash_time { get; set; }
/// <summary> /// <summary>
/// app进入后台多久后打开app显示激励视频广告
/// (单位:秒)
/// </summary>
public int video_time { get; set; }
/// <summary>
/// 插屏时间 /// 插屏时间
/// </summary> /// </summary>
public int Interstitial_time { get; set; } public int Interstitial_time { get; set; }
......
%YAML 1.1 %YAML 1.1
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!1 &1571989719652187524 --- !u!1 &2036219049125648582
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -8,23 +8,23 @@ GameObject: ...@@ -8,23 +8,23 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 1571989719652187523} - component: {fileID: 2036219049125648577}
- component: {fileID: 1571989719652187521} - component: {fileID: 2036219049125648579}
- component: {fileID: 1571989719652187522} - component: {fileID: 2036219049125648576}
m_Layer: 5 m_Layer: 5
m_Name: HandSpeedRedPacket m_Name: HSRPEffect
m_TagString: Untagged m_TagString: Untagged
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: 1
--- !u!224 &1571989719652187523 --- !u!224 &2036219049125648577
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1571989719652187524} m_GameObject: {fileID: 2036219049125648582}
m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068} m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
...@@ -34,16 +34,16 @@ RectTransform: ...@@ -34,16 +34,16 @@ RectTransform:
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0} m_LocalEulerAnglesHint: {x: -90, 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: -1, y: -432} m_AnchoredPosition: {x: 0, y: 65}
m_SizeDelta: {x: 100, y: 100} m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!198 &1571989719652187521 --- !u!198 &2036219049125648579
ParticleSystem: ParticleSystem:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1571989719652187524} m_GameObject: {fileID: 2036219049125648582}
serializedVersion: 6 serializedVersion: 6
lengthInSec: 0.5 lengthInSec: 0.5
simulationSpeed: 1 simulationSpeed: 1
...@@ -4695,14 +4695,14 @@ ParticleSystem: ...@@ -4695,14 +4695,14 @@ ParticleSystem:
m_PostInfinity: 2 m_PostInfinity: 2
m_RotationOrder: 4 m_RotationOrder: 4
vectorLabel1_3: W vectorLabel1_3: W
--- !u!199 &1571989719652187522 --- !u!199 &2036219049125648576
ParticleSystemRenderer: ParticleSystemRenderer:
serializedVersion: 6 serializedVersion: 6
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1571989719652187524} m_GameObject: {fileID: 2036219049125648582}
m_Enabled: 1 m_Enabled: 1
m_CastShadows: 0 m_CastShadows: 0
m_ReceiveShadows: 0 m_ReceiveShadows: 0
...@@ -4714,7 +4714,7 @@ ParticleSystemRenderer: ...@@ -4714,7 +4714,7 @@ ParticleSystemRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 2100000, guid: 0ac1422c177d24f838e3b6a90ab6f7e5, type: 2} - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 0} - {fileID: 0}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
......
...@@ -12,8 +12,9 @@ GameObject: ...@@ -12,8 +12,9 @@ GameObject:
- component: {fileID: 2097341162950283437} - component: {fileID: 2097341162950283437}
- component: {fileID: 2097341162950283438} - component: {fileID: 2097341162950283438}
- component: {fileID: 2097341162950283439} - component: {fileID: 2097341162950283439}
- component: {fileID: 2294260602426221768}
m_Layer: 5 m_Layer: 5
m_Name: HandSpeedRedPacket m_Name: HandSpeedRedPacketItem
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
...@@ -31,7 +32,6 @@ RectTransform: ...@@ -31,7 +32,6 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 2097341163149218384} - {fileID: 2097341163149218384}
- {fileID: 2097341162269394383}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -119,7 +119,31 @@ MonoBehaviour: ...@@ -119,7 +119,31 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 2097341162950283438} m_TargetGraphic: {fileID: 2097341162950283438}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls:
- m_Target: {fileID: 2294260602426221768}
m_MethodName: DidSelectedItem
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!114 &2294260602426221768
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2097341162950283433}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 35a8b4c039a3b486ca414032b522ee46, type: 3}
m_Name:
m_EditorClassIdentifier:
HSRPEffectPrefab: {fileID: 0}
--- !u!1 &2097341163149218385 --- !u!1 &2097341163149218385
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -198,128 +222,3 @@ MonoBehaviour: ...@@ -198,128 +222,3 @@ MonoBehaviour:
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: "\u624B\u901F\u7EA2\u5305" m_Text: "\u624B\u901F\u7EA2\u5305"
--- !u!1001 &633763995440937036
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 2097341162950283432}
m_Modifications:
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_SizeDelta.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_SizeDelta.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -1
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 63.00003
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: -90
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1571989719652187524, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
propertyPath: m_Name
value: HSRPEffect
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 012db062b9c85492a8ee95cc0c71c311, type: 3}
--- !u!224 &2097341162269394383 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 1571989719652187523, guid: 012db062b9c85492a8ee95cc0c71c311,
type: 3}
m_PrefabInstance: {fileID: 633763995440937036}
m_PrefabAsset: {fileID: 0}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 手速红包
/// </summary>
public class HandSpeedRedPacketItem : MonoBehaviour
{
/// <summary>
/// 红包弹出特效
/// </summary>
public GameObject HSRPEffectPrefab;
/// <summary>
/// 手速红包点击事件
/// </summary>
public void DidSelectedItem()
{
Instantiate(HSRPEffectPrefab, transform);
}
}
fileFormatVersion: 2 fileFormatVersion: 2
guid: 0ac1422c177d24f838e3b6a90ab6f7e5 guid: 35a8b4c039a3b486ca414032b522ee46
NativeFormatImporter: MonoImporter:
externalObjects: {} externalObjects: {}
mainObjectFileID: 2100000 serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:
...@@ -41,11 +41,17 @@ public class @switch ...@@ -41,11 +41,17 @@ public class @switch
public int qq { get; set; } public int qq { get; set; }
/// <summary> /// <summary>
/// app进入后台多久后打开app显示广告 /// app进入后台多久后打开app显示开屏广告
/// (单位:秒) /// (单位:秒)
/// </summary> /// </summary>
public int splash_time { get; set; } public int splash_time { get; set; }
/// <summary>
/// app进入后台多久后打开app显示激励视频广告
/// (单位:秒)
/// </summary>
public int video_time { get; set; }
public int Interstitial_time; public int Interstitial_time;
public int new_red_show; public int new_red_show;
} }
......
...@@ -1357,7 +1357,7 @@ GameObject: ...@@ -1357,7 +1357,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 &829085778 --- !u!224 &829085778
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -2630,6 +2630,7 @@ MonoBehaviour: ...@@ -2630,6 +2630,7 @@ MonoBehaviour:
isFirstShowSplash: 1 isFirstShowSplash: 1
WeChatLoginBtn: {fileID: 0} WeChatLoginBtn: {fileID: 0}
LoadingProgress: {fileID: 0} LoadingProgress: {fileID: 0}
LoginView: {fileID: 6886931801204519664}
--- !u!1 &1857630836 --- !u!1 &1857630836
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -3102,8 +3103,8 @@ MonoBehaviour: ...@@ -3102,8 +3103,8 @@ MonoBehaviour:
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 0} - m_Target: {fileID: 1814038932}
m_MethodName: OnClickWxLogin m_MethodName: ClickLogin
m_Mode: 1 m_Mode: 1
m_Arguments: m_Arguments:
m_ObjectArgument: {fileID: 0} m_ObjectArgument: {fileID: 0}
......
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: HSRPMaterials
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.company.product"> package="com.company.product">
<!--必须要有的权限--> <!--必须要有的权限-->
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/> <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<uses-permission android:name="android.permission.GET_TASKS"/> <uses-permission android:name="android.permission.GET_TASKS"/>
<!--最好能提供的权限--> <!--最好能提供的权限-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!-- 如果有视频相关的广告且使用textureView播放,请务必添加,否则黑屏 --> <!-- 如果有视频相关的广告且使用textureView播放,请务必添加,否则黑屏 -->
<uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WAKE_LOCK" />
<application <application
android:name="com.bytedance.android.UnionApplication" android:name="com.bytedance.android.UnionApplication"
android:icon="@drawable/app_icon" android:icon="@drawable/app_icon"
android:label="@string/app_name" android:label="@string/app_name"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:allowBackup="true" android:allowBackup="true"
android:supportsRtl="true"> android:supportsRtl="true">
<uses-library android:name="org.apache.http.legacy" android:required="false"/> <uses-library android:name="org.apache.http.legacy" android:required="false"/>
<activity android:name="com.unity3d.player.UnityPlayerActivity" <activity android:name="com.unity3d.player.UnityPlayerActivity"
android:label="@string/app_name" android:label="@string/app_name"
android:launchMode="standard" android:launchMode="standard"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"> android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<!-- BlackBox 请在下面配置您的partnercode--> <!-- BlackBox 请在下面配置您的partnercode-->
<meta-data <meta-data
android:name="PARTNER_CODE" android:name="PARTNER_CODE"
android:value="yanmao" /> android:value="yanmao" />
<!-- 微信配置 --> <!-- 微信配置 -->
<activity <activity
android:name="com.ym.chxxx.wxapi.WXEntryActivity" android:name="com.ym.chxxx.wxapi.WXEntryActivity"
android:exported="true" android:exported="true"
android:launchMode="singleTop"/> android:launchMode="singleTop"/>
<!-- 友盟配置 --> <!-- 友盟配置 -->
<meta-data <meta-data
android:name="UMENG_CHANNEL" android:name="UMENG_CHANNEL"
android:value="${UMENG_CHANNEL_VALUE}" /> android:value="${UMENG_CHANNEL_VALUE}" />
<!-- WebView --> <!-- WebView -->
<activity <activity
android:name="com.ym.unityandroid.webview.UnityWebActivity" android:name="com.ym.unityandroid.webview.UnityWebActivity"
android:exported="true" android:exported="true"
android:screenOrientation="fullSensor"> android:screenOrientation="fullSensor">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
</intent-filter> </intent-filter>
</activity> </activity>
<!-- WebView --> <!-- WebView -->
<provider <provider
android:name="com.bytedance.sdk.openadsdk.TTFileProvider" android:name="com.bytedance.sdk.openadsdk.TTFileProvider"
android:authorities="${applicationId}.TTFileProvider" android:authorities="${applicationId}.TTFileProvider"
android:exported="false" android:exported="false"
android:grantUriPermissions="true"> android:grantUriPermissions="true">
<meta-data <meta-data
android:name="android.support.FILE_PROVIDER_PATHS" android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" /> android:resource="@xml/file_paths" />
</provider> </provider>
<provider <provider
android:name="com.bytedance.sdk.openadsdk.multipro.TTMultiProvider" android:name="com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
android:authorities="${applicationId}.TTMultiProvider" android:authorities="${applicationId}.TTMultiProvider"
android:exported="false" /> android:exported="false" />
</application> <provider
</manifest> android:name="com.wannuosili.sdk.ad.component.WNFileProvider"
android:authorities="${applicationId}.WNFileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/wn_file_paths" />
</provider>
</application>
</manifest>
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<!--为了适配所有路径可以设置 path = "." -->
<external-path name="download" path="." />
<external-files-path name="external_file" path="." />
<external-cache-path name="external_cache" path="." />
<files-path name="files" path="." />
<cache-path name="cache" path="." />
</paths>
fileFormatVersion: 2 fileFormatVersion: 2
guid: 830ff138d2a2f44839ed10d9545db187 guid: d73cbebadbafc4b08b3528df04a1511c
folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:
......
...@@ -21,6 +21,11 @@ public class Splash : MonoBehaviour ...@@ -21,6 +21,11 @@ public class Splash : MonoBehaviour
"android.permission.READ_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE",
"android.permission.READ_PHONE_STATE"}; "android.permission.READ_PHONE_STATE"};
/// <summary>
/// 登录页面
/// </summary>
public GameObject LoginView;
#if !UNITY_EDITOR && UNITY_IOS #if !UNITY_EDITOR && UNITY_IOS
[DllImport("__Internal")] [DllImport("__Internal")]
public static extern void ReSendIDFA(); // ios 发送idfa public static extern void ReSendIDFA(); // ios 发送idfa
...@@ -127,6 +132,7 @@ public class Splash : MonoBehaviour ...@@ -127,6 +132,7 @@ public class Splash : MonoBehaviour
{ {
EventUtils.OnEvent("novel_info_success", "拉取配置信息成功"); EventUtils.OnEvent("novel_info_success", "拉取配置信息成功");
Constant.Instance.splash_time = bean.@switch.splash_time; Constant.Instance.splash_time = bean.@switch.splash_time;
Constant.Instance.video_time = bean.@switch.video_time;
Constant.Instance.Interstitial_time = bean.@switch.Interstitial_time; Constant.Instance.Interstitial_time = bean.@switch.Interstitial_time;
Constant.Instance.PrivacyPolicy = bean.h5_url.privacy; Constant.Instance.PrivacyPolicy = bean.h5_url.privacy;
...@@ -222,10 +228,13 @@ public class Splash : MonoBehaviour ...@@ -222,10 +228,13 @@ public class Splash : MonoBehaviour
yield return null; yield return null;
if (AppConfig.Instance.getToken().Equals("")) if (AppConfig.Instance.getToken().Equals(""))
{//显示微信登录页面 {
ClickLogin(); //显示微信登录页面
//ClickLogin();
EventUtils.OnEvent("wx_page_show"); EventUtils.OnEvent("wx_page_show");
//WeChatLoginBtn.SetActive(true);
//显示微信登录页面
LoginView.SetActive(true);
} }
else else
{ {
...@@ -237,17 +246,23 @@ public class Splash : MonoBehaviour ...@@ -237,17 +246,23 @@ public class Splash : MonoBehaviour
public void ClickLogin() public void ClickLogin()
{ {
EventUtils.OnEvent("wx_page_login_btn_click"); EventUtils.OnEvent("wx_page_login_btn_click");
WxLoginUtil.Instance.OnClickWxLogin(new Action<bool>((wxLoginResult) => WxLoginUtil.Instance.OnClickWxLogin(new Action<bool>((wxLoginResult) =>
{ {
// 微信登录成功
if (wxLoginResult) if (wxLoginResult)
{ {
IsJump = true; IsJump = true;
EventUtils.OnEvent("login_success");
//EventUtils.OnEvent("user_login_success", "微信登录成功");
//SceneManager.LoadSceneAsync(2); //SceneManager.LoadSceneAsync(2);
//CSJSplshADUtils.Instance.CloseCJSSplashAd(); //CSJSplshADUtils.Instance.CloseCJSSplashAd();
} }
// 微信登录失败
else else
{ {
ToastPlugin.ToastHelper.ShowToast("登录失败"); EventUtils.OnEvent("login_fail");
//EventUtils.OnEvent("user_login_failed", "微信登录失败");
} }
})); }));
} }
......
...@@ -182,6 +182,7 @@ public class StartControl : MonoBehaviour ...@@ -182,6 +182,7 @@ public class StartControl : MonoBehaviour
private static int lastCloseTime; private static int lastCloseTime;
private void OnApplicationFocus(bool focus) private void OnApplicationFocus(bool focus)
{ {
Debug.Log("走没走");
if (focus) if (focus)
{ {
//切换到前台时执行,游戏启动时执行一次 //切换到前台时执行,游戏启动时执行一次
...@@ -198,7 +199,18 @@ public class StartControl : MonoBehaviour ...@@ -198,7 +199,18 @@ public class StartControl : MonoBehaviour
if (lastCloseTime > 0) if (lastCloseTime > 0)
{ {
int passTime = curTime - lastCloseTime; int passTime = curTime - lastCloseTime;
if (passTime > Constant.Instance.splash_time) if (passTime > Constant.Instance.splash_time && passTime < Constant.Instance.video_time)
{
if (AdUtils.IsShowRewardAd)
{
AdUtils.IsShowRewardAd = false;
}
else
{
ShowSplashAd();
}
}
else if (passTime >= Constant.Instance.video_time)
{ {
if (AdUtils.IsShowRewardAd) if (AdUtils.IsShowRewardAd)
{ {
...@@ -209,6 +221,7 @@ public class StartControl : MonoBehaviour ...@@ -209,6 +221,7 @@ public class StartControl : MonoBehaviour
ShowRewardAd(); ShowRewardAd();
} }
} }
} }
} }
else else
...@@ -238,13 +251,16 @@ public class StartControl : MonoBehaviour ...@@ -238,13 +251,16 @@ public class StartControl : MonoBehaviour
private void ShowRewardAd() private void ShowRewardAd()
{ {
Debug.Log("显示热启动广告");
AdUtils.PlayRewardAd("hot_lunch_reward", new Action<bool>((cb) => AdUtils.PlayRewardAd("hot_lunch_reward", new Action<bool>((cb) =>
{ {
Debug.Log("热启动广告启动完成");
if (cb) if (cb)
{ {
HttpTool.Instance._Post("app/v1/cscmnq/hotStart", null, new Action<EmptyModel>((bean) => HttpTool.Instance._Get("app/v1/cscmnq/hotStart", null, new Action<EmptyModel>((bean) =>
{ {
EventCenter.Broadcast(MyEventType.FlyHongbao); EventCenter.Broadcast(MyEventType.FlyHongbao);
Debug.Log("热启动广告奖励接口调用成功");
}), new Action<string, string>((code, errMsg) => }), new Action<string, string>((code, errMsg) =>
{ {
......
...@@ -17,7 +17,7 @@ MonoBehaviour: ...@@ -17,7 +17,7 @@ MonoBehaviour:
m_Registries: m_Registries:
- m_Id: main - m_Id: main
m_Name: m_Name:
m_Url: https://packages.unity.cn m_Url: https://packages.unity.com
m_Scopes: [] m_Scopes: []
m_IsDefault: 1 m_IsDefault: 1
m_UserSelectedRegistryName: m_UserSelectedRegistryName:
......
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