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
b9b2c0f0
Commit
b9b2c0f0
authored
Jun 09, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手速红包
parent
26edaaee
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
519 additions
and
417 deletions
+519
-417
squareBorderCurvedEmpty.png.meta
...DemiLib/Core/Editor/Imgs/squareBorderCurvedEmpty.png.meta
+58
-21
squareBorderCurvedEmptyThick.png.meta
...ib/Core/Editor/Imgs/squareBorderCurvedEmptyThick.png.meta
+58
-21
squareBorderEmpty01.png.meta
...ant/DemiLib/Core/Editor/Imgs/squareBorderEmpty01.png.meta
+58
-21
squareBorderEmpty02.png.meta
...ant/DemiLib/Core/Editor/Imgs/squareBorderEmpty02.png.meta
+58
-21
squareBorderEmpty03.png.meta
...ant/DemiLib/Core/Editor/Imgs/squareBorderEmpty03.png.meta
+58
-21
Constant.cs
Assets/Base/UnityTool/Constant.cs
+11
-5
HSRPEffect.prefab
Assets/Game/Main/Prefabs/HSRPEffect.prefab
+13
-13
HandSpeedRedPacketItem.prefab
Assets/Game/Main/Prefabs/HandSpeedRedPacketItem.prefab
+27
-128
HandSpeedRedPacketItem.prefab.meta
Assets/Game/Main/Prefabs/HandSpeedRedPacketItem.prefab.meta
+0
-0
HandSpeedRedPacketItem.cs
Assets/Game/Main/Scripts/Item/HandSpeedRedPacketItem.cs
+23
-0
HandSpeedRedPacketItem.cs.meta
Assets/Game/Main/Scripts/Item/HandSpeedRedPacketItem.cs.meta
+11
-0
AppInfoBean.cs
Assets/Game/Main/Scripts/Model/AppInfoBean.cs
+7
-1
Splash.unity
Assets/Game/Splash/Splash.unity
+4
-3
HSRPMaterials.mat
Assets/Materials/HSRPMaterials.mat
+0
-77
AndroidManifest.xml
Assets/Plugins/Android/AndroidManifest.xml
+85
-76
wn_file_paths.xml
Assets/Plugins/Android/res/xml/wn_file_paths.xml
+9
-0
wn_file_paths.xml.meta
Assets/Plugins/Android/res/xml/wn_file_paths.xml.meta
+1
-2
Splash.cs
Assets/Scripts/Splash/Splash.cs
+19
-4
StartControl.cs
Assets/Scripts/StartControl.cs
+18
-2
PackageManagerSettings.asset
ProjectSettings/PackageManagerSettings.asset
+1
-1
No files found.
Assets/Base/Demigiant/DemiLib/Core/Editor/Imgs/squareBorderCurvedEmpty.png.meta
View file @
b9b2c0f0
fileFormatVersion: 2
guid: 061832186fb52e04493c5ad853831d73
timeCreated: 1486114863
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
heightScale:
0
.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap:
0
generateCubemap:
6
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
serializedVersion: 2
filterMode: 0
aniso: 1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
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:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Base/Demigiant/DemiLib/Core/Editor/Imgs/squareBorderCurvedEmptyThick.png.meta
View file @
b9b2c0f0
fileFormatVersion: 2
guid: de7931d4e05562046bceafcb92cab56e
timeCreated: 1492774441
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
heightScale:
0
.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap:
0
generateCubemap:
6
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
serializedVersion: 2
filterMode: 0
aniso: 1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
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:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Base/Demigiant/DemiLib/Core/Editor/Imgs/squareBorderEmpty01.png.meta
View file @
b9b2c0f0
fileFormatVersion: 2
guid: 79519e6f806524c4fb963c3aa0b23fc4
timeCreated: 1492072406
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
heightScale:
0
.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap:
0
generateCubemap:
6
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
serializedVersion: 2
filterMode: 0
aniso: 1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
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:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Base/Demigiant/DemiLib/Core/Editor/Imgs/squareBorderEmpty02.png.meta
View file @
b9b2c0f0
fileFormatVersion: 2
guid: 5ca7b0c48e4ac8d4484a7204ec99e586
timeCreated: 1492072406
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
heightScale:
0
.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap:
0
generateCubemap:
6
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
serializedVersion: 2
filterMode: 0
aniso: 1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
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:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Base/Demigiant/DemiLib/Core/Editor/Imgs/squareBorderEmpty03.png.meta
View file @
b9b2c0f0
fileFormatVersion: 2
guid: 8b9eafac1476c7c4d85bf9a23e37b1e4
timeCreated: 1492072406
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
heightScale:
0
.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap:
0
generateCubemap:
6
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
serializedVersion: 2
filterMode: 0
aniso: 1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
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:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Base/UnityTool/Constant.cs
View file @
b9b2c0f0
...
...
@@ -19,8 +19,8 @@ public class Constant
/// </summary>
public
bool
IsTestNet
{
get
;
set
;
}
//微信key
public
string
WX_APP_ID
=
"wx
d0f4e1438c9ddcad
"
;
public
string
WX_APP_Key
=
"
dc063d5e4542c4777f47033bcbbc433d
"
;
public
string
WX_APP_ID
=
"wx
10f8dcecdcf26ab7
"
;
public
string
WX_APP_Key
=
"
bfa522c1b6be52727795b726b788181a
"
;
public
string
universalLink
=
"https://feedapi.zhangxineducation.com/iosdiandiancy/"
;
// 友盟key ios
...
...
@@ -28,7 +28,7 @@ public class Constant
{
get
{
return
"60
b5ec15dd01c71b57cf5091
"
;
return
"60
9a589b53b6726499f8543d
"
;
}
}
public
string
Token
{
get
;
set
;
}
...
...
@@ -39,7 +39,7 @@ public class Constant
{
get
{
return
"
e13d3d614ff61dfe
"
;
return
"
892467fd69100919
"
;
}
}
...
...
@@ -108,10 +108,16 @@ public class Constant
/// </summary>
public
string
PrivacyPolicy
{
get
;
set
;
}
/// <summary>
/// 开屏时间
/// app进入后台多久后打开app显示开屏广告
/// (单位:秒)
/// </summary>
public
int
splash_time
{
get
;
set
;
}
/// <summary>
/// app进入后台多久后打开app显示激励视频广告
/// (单位:秒)
/// </summary>
public
int
video_time
{
get
;
set
;
}
/// <summary>
/// 插屏时间
/// </summary>
public
int
Interstitial_time
{
get
;
set
;
}
...
...
Assets/Game/Main/Prefabs/HSRPEffect.prefab
View file @
b9b2c0f0
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!1
&
1571989719652187524
---
!u!1
&
2036219049125648582
GameObject
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
...
...
@@ -8,23 +8,23 @@ GameObject:
m_PrefabAsset
:
{
fileID
:
0
}
serializedVersion
:
6
m_Component
:
-
component
:
{
fileID
:
1571989719652187523
}
-
component
:
{
fileID
:
1571989719652187521
}
-
component
:
{
fileID
:
1571989719652187522
}
-
component
:
{
fileID
:
2036219049125648577
}
-
component
:
{
fileID
:
2036219049125648579
}
-
component
:
{
fileID
:
2036219049125648576
}
m_Layer
:
5
m_Name
:
H
andSpeedRedPacke
t
m_Name
:
H
SRPEffec
t
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
---
!u!224
&
1571989719652187523
---
!u!224
&
2036219049125648577
RectTransform
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
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_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
...
...
@@ -34,16 +34,16 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
-90
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
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_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!198
&
1571989719652187521
---
!u!198
&
2036219049125648579
ParticleSystem
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1571989719652187524
}
m_GameObject
:
{
fileID
:
2036219049125648582
}
serializedVersion
:
6
lengthInSec
:
0.5
simulationSpeed
:
1
...
...
@@ -4695,14 +4695,14 @@ ParticleSystem:
m_PostInfinity
:
2
m_RotationOrder
:
4
vectorLabel1_3
:
W
---
!u!199
&
1571989719652187522
---
!u!199
&
2036219049125648576
ParticleSystemRenderer
:
serializedVersion
:
6
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1571989719652187524
}
m_GameObject
:
{
fileID
:
2036219049125648582
}
m_Enabled
:
1
m_CastShadows
:
0
m_ReceiveShadows
:
0
...
...
@@ -4714,7 +4714,7 @@ ParticleSystemRenderer:
m_RenderingLayerMask
:
1
m_RendererPriority
:
0
m_Materials
:
-
{
fileID
:
2100000
,
guid
:
0ac1422c177d24f838e3b6a90ab6f7e5
,
type
:
2
}
-
{
fileID
:
10754
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
-
{
fileID
:
0
}
m_StaticBatchInfo
:
firstSubMesh
:
0
...
...
Assets/Game/Main/Prefabs/HandSpeedRedPacket.prefab
→
Assets/Game/Main/Prefabs/HandSpeedRedPacket
Item
.prefab
View file @
b9b2c0f0
...
...
@@ -12,8 +12,9 @@ GameObject:
-
component
:
{
fileID
:
2097341162950283437
}
-
component
:
{
fileID
:
2097341162950283438
}
-
component
:
{
fileID
:
2097341162950283439
}
-
component
:
{
fileID
:
2294260602426221768
}
m_Layer
:
5
m_Name
:
HandSpeedRedPacket
m_Name
:
HandSpeedRedPacket
Item
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
...
...
@@ -31,7 +32,6 @@ RectTransform:
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
-
{
fileID
:
2097341163149218384
}
-
{
fileID
:
2097341162269394383
}
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
0
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
...
...
@@ -119,7 +119,31 @@ MonoBehaviour:
m_TargetGraphic
:
{
fileID
:
2097341162950283438
}
m_OnClick
:
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
GameObject
:
m_ObjectHideFlags
:
0
...
...
@@ -198,128 +222,3 @@ MonoBehaviour:
m_VerticalOverflow
:
0
m_LineSpacing
:
1
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
}
Assets/Game/Main/Prefabs/HandSpeedRedPacket.prefab.meta
→
Assets/Game/Main/Prefabs/HandSpeedRedPacket
Item
.prefab.meta
View file @
b9b2c0f0
File moved
Assets/Game/Main/Scripts/Item/HandSpeedRedPacketItem.cs
0 → 100644
View file @
b9b2c0f0
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
);
}
}
Assets/
Materials/HSRPMaterials.mat
.meta
→
Assets/
Game/Main/Scripts/Item/HandSpeedRedPacketItem.cs
.meta
View file @
b9b2c0f0
fileFormatVersion: 2
guid:
0ac1422c177d24f838e3b6a90ab6f7e5
NativeFormat
Importer:
guid:
35a8b4c039a3b486ca414032b522ee46
Mono
Importer:
externalObjects: {}
mainObjectFileID: 2100000
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Scripts/Model/AppInfoBean.cs
View file @
b9b2c0f0
...
...
@@ -41,11 +41,17 @@ public class @switch
public
int
qq
{
get
;
set
;
}
/// <summary>
/// app进入后台多久后打开app显示广告
/// app进入后台多久后打开app显示
开屏
广告
/// (单位:秒)
/// </summary>
public
int
splash_time
{
get
;
set
;
}
/// <summary>
/// app进入后台多久后打开app显示激励视频广告
/// (单位:秒)
/// </summary>
public
int
video_time
{
get
;
set
;
}
public
int
Interstitial_time
;
public
int
new_red_show
;
}
...
...
Assets/Game/Splash/Splash.unity
View file @
b9b2c0f0
...
...
@@ -1357,7 +1357,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
m_IsActive
:
0
---
!u!224
&829085778
RectTransform
:
m_ObjectHideFlags
:
0
...
...
@@ -2630,6 +2630,7 @@ MonoBehaviour:
isFirstShowSplash
:
1
WeChatLoginBtn
:
{
fileID
:
0
}
LoadingProgress
:
{
fileID
:
0
}
LoginView
:
{
fileID
:
6886931801204519664
}
---
!u!1
&1857630836
GameObject
:
m_ObjectHideFlags
:
0
...
...
@@ -3102,8 +3103,8 @@ MonoBehaviour:
m_OnClick
:
m_PersistentCalls
:
m_Calls
:
-
m_Target
:
{
fileID
:
0
}
m_MethodName
:
OnClickWx
Login
-
m_Target
:
{
fileID
:
1814038932
}
m_MethodName
:
Click
Login
m_Mode
:
1
m_Arguments
:
m_ObjectArgument
:
{
fileID
:
0
}
...
...
Assets/Materials/HSRPMaterials.mat
deleted
100644 → 0
View file @
26edaaee
%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
}
Assets/Plugins/Android/AndroidManifest.xml
View file @
b9b2c0f0
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.company.product"
>
<!--必须要有的权限-->
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.READ_PHONE_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.ACCESS_WIFI_STATE"
/>
<uses-permission
android:name=
"android.permission.ACCESS_COARSE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.REQUEST_INSTALL_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.GET_TASKS"
/>
<!--最好能提供的权限-->
<uses-permission
android:name=
"android.permission.ACCESS_FINE_LOCATION"
/>
<!-- 如果有视频相关的广告且使用textureView播放,请务必添加,否则黑屏 -->
<uses-permission
android:name=
"android.permission.WAKE_LOCK"
/>
<application
android:name=
"com.bytedance.android.UnionApplication"
android:icon=
"@drawable/app_icon"
android:label=
"@string/app_name"
android:hardwareAccelerated=
"true"
android:allowBackup=
"true"
android:supportsRtl=
"true"
>
<uses-library
android:name=
"org.apache.http.legacy"
android:required=
"false"
/>
<activity
android:name=
"com.unity3d.player.UnityPlayerActivity"
android:label=
"@string/app_name"
android:launchMode=
"standard"
android:hardwareAccelerated=
"true"
android:configChanges=
"fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
<!-- BlackBox 请在下面配置您的partnercode-->
<meta-data
android:name=
"PARTNER_CODE"
android:value=
"yanmao"
/>
<!-- 微信配置 -->
<activity
android:name=
"com.ym.chxxx.wxapi.WXEntryActivity"
android:exported=
"true"
android:launchMode=
"singleTop"
/>
<!-- 友盟配置 -->
<meta-data
android:name=
"UMENG_CHANNEL"
android:value=
"${UMENG_CHANNEL_VALUE}"
/>
<!-- WebView -->
<activity
android:name=
"com.ym.unityandroid.webview.UnityWebActivity"
android:exported=
"true"
android:screenOrientation=
"fullSensor"
>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
</intent-filter>
</activity>
<!-- WebView -->
<provider
android:name=
"com.bytedance.sdk.openadsdk.TTFileProvider"
android:authorities=
"${applicationId}.TTFileProvider"
android:exported=
"false"
android:grantUriPermissions=
"true"
>
<meta-data
android:name=
"android.support.FILE_PROVIDER_PATHS"
android:resource=
"@xml/file_paths"
/>
</provider>
<provider
android:name=
"com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
android:authorities=
"${applicationId}.TTMultiProvider"
android:exported=
"false"
/>
</application>
</manifest>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.company.product"
>
<!--必须要有的权限-->
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.READ_PHONE_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.ACCESS_WIFI_STATE"
/>
<uses-permission
android:name=
"android.permission.ACCESS_COARSE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.REQUEST_INSTALL_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.GET_TASKS"
/>
<!--最好能提供的权限-->
<uses-permission
android:name=
"android.permission.ACCESS_FINE_LOCATION"
/>
<!-- 如果有视频相关的广告且使用textureView播放,请务必添加,否则黑屏 -->
<uses-permission
android:name=
"android.permission.WAKE_LOCK"
/>
<application
android:name=
"com.bytedance.android.UnionApplication"
android:icon=
"@drawable/app_icon"
android:label=
"@string/app_name"
android:hardwareAccelerated=
"true"
android:allowBackup=
"true"
android:supportsRtl=
"true"
>
<uses-library
android:name=
"org.apache.http.legacy"
android:required=
"false"
/>
<activity
android:name=
"com.unity3d.player.UnityPlayerActivity"
android:label=
"@string/app_name"
android:launchMode=
"standard"
android:hardwareAccelerated=
"true"
android:configChanges=
"fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
<!-- BlackBox 请在下面配置您的partnercode-->
<meta-data
android:name=
"PARTNER_CODE"
android:value=
"yanmao"
/>
<!-- 微信配置 -->
<activity
android:name=
"com.ym.chxxx.wxapi.WXEntryActivity"
android:exported=
"true"
android:launchMode=
"singleTop"
/>
<!-- 友盟配置 -->
<meta-data
android:name=
"UMENG_CHANNEL"
android:value=
"${UMENG_CHANNEL_VALUE}"
/>
<!-- WebView -->
<activity
android:name=
"com.ym.unityandroid.webview.UnityWebActivity"
android:exported=
"true"
android:screenOrientation=
"fullSensor"
>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
</intent-filter>
</activity>
<!-- WebView -->
<provider
android:name=
"com.bytedance.sdk.openadsdk.TTFileProvider"
android:authorities=
"${applicationId}.TTFileProvider"
android:exported=
"false"
android:grantUriPermissions=
"true"
>
<meta-data
android:name=
"android.support.FILE_PROVIDER_PATHS"
android:resource=
"@xml/file_paths"
/>
</provider>
<provider
android:name=
"com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
android:authorities=
"${applicationId}.TTMultiProvider"
android:exported=
"false"
/>
<provider
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>
Assets/Plugins/Android/res/xml/wn_file_paths.xml
0 → 100644
View file @
b9b2c0f0
<?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>
Assets/
Materials
.meta
→
Assets/
Plugins/Android/res/xml/wn_file_paths.xml
.meta
View file @
b9b2c0f0
fileFormatVersion: 2
guid: 830ff138d2a2f44839ed10d9545db187
folderAsset: yes
guid: d73cbebadbafc4b08b3528df04a1511c
DefaultImporter:
externalObjects: {}
userData:
...
...
Assets/Scripts/Splash/Splash.cs
View file @
b9b2c0f0
...
...
@@ -21,6 +21,11 @@ public class Splash : MonoBehaviour
"android.permission.READ_EXTERNAL_STORAGE"
,
"android.permission.READ_PHONE_STATE"
};
/// <summary>
/// 登录页面
/// </summary>
public
GameObject
LoginView
;
#if !UNITY_EDITOR && UNITY_IOS
[
DllImport
(
"__Internal"
)]
public
static
extern
void
ReSendIDFA
();
// ios 发送idfa
...
...
@@ -127,6 +132,7 @@ public class Splash : MonoBehaviour
{
EventUtils
.
OnEvent
(
"novel_info_success"
,
"拉取配置信息成功"
);
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
.
PrivacyPolicy
=
bean
.
h5_url
.
privacy
;
...
...
@@ -222,10 +228,13 @@ public class Splash : MonoBehaviour
yield
return
null
;
if
(
AppConfig
.
Instance
.
getToken
().
Equals
(
""
))
{
//显示微信登录页面
ClickLogin
();
{
//显示微信登录页面
//ClickLogin();
EventUtils
.
OnEvent
(
"wx_page_show"
);
//WeChatLoginBtn.SetActive(true);
//显示微信登录页面
LoginView
.
SetActive
(
true
);
}
else
{
...
...
@@ -237,17 +246,23 @@ public class Splash : MonoBehaviour
public
void
ClickLogin
()
{
EventUtils
.
OnEvent
(
"wx_page_login_btn_click"
);
WxLoginUtil
.
Instance
.
OnClickWxLogin
(
new
Action
<
bool
>((
wxLoginResult
)
=>
{
// 微信登录成功
if
(
wxLoginResult
)
{
IsJump
=
true
;
EventUtils
.
OnEvent
(
"login_success"
);
//EventUtils.OnEvent("user_login_success", "微信登录成功");
//SceneManager.LoadSceneAsync(2);
//CSJSplshADUtils.Instance.CloseCJSSplashAd();
}
// 微信登录失败
else
{
ToastPlugin
.
ToastHelper
.
ShowToast
(
"登录失败"
);
EventUtils
.
OnEvent
(
"login_fail"
);
//EventUtils.OnEvent("user_login_failed", "微信登录失败");
}
}));
}
...
...
Assets/Scripts/StartControl.cs
View file @
b9b2c0f0
...
...
@@ -182,6 +182,7 @@ public class StartControl : MonoBehaviour
private
static
int
lastCloseTime
;
private
void
OnApplicationFocus
(
bool
focus
)
{
Debug
.
Log
(
"走没走"
);
if
(
focus
)
{
//切换到前台时执行,游戏启动时执行一次
...
...
@@ -198,7 +199,18 @@ public class StartControl : MonoBehaviour
if
(
lastCloseTime
>
0
)
{
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
)
{
...
...
@@ -209,6 +221,7 @@ public class StartControl : MonoBehaviour
ShowRewardAd
();
}
}
}
}
else
...
...
@@ -238,13 +251,16 @@ public class StartControl : MonoBehaviour
private
void
ShowRewardAd
()
{
Debug
.
Log
(
"显示热启动广告"
);
AdUtils
.
PlayRewardAd
(
"hot_lunch_reward"
,
new
Action
<
bool
>((
cb
)
=>
{
Debug
.
Log
(
"热启动广告启动完成"
);
if
(
cb
)
{
HttpTool
.
Instance
.
_
Pos
t
(
"app/v1/cscmnq/hotStart"
,
null
,
new
Action
<
EmptyModel
>((
bean
)
=>
HttpTool
.
Instance
.
_
Ge
t
(
"app/v1/cscmnq/hotStart"
,
null
,
new
Action
<
EmptyModel
>((
bean
)
=>
{
EventCenter
.
Broadcast
(
MyEventType
.
FlyHongbao
);
Debug
.
Log
(
"热启动广告奖励接口调用成功"
);
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
...
...
ProjectSettings/PackageManagerSettings.asset
View file @
b9b2c0f0
...
...
@@ -17,7 +17,7 @@ MonoBehaviour:
m_Registries
:
-
m_Id
:
main
m_Name
:
m_Url
:
https://packages.unity.c
n
m_Url
:
https://packages.unity.c
om
m_Scopes
:
[]
m_IsDefault
:
1
m_UserSelectedRegistryName
:
...
...
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