[飞升]=====特效修改提交
parent
68c9886183
commit
b64234bcb8
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
|
|
@ -0,0 +1,110 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b1b2a670096a52d47a0696f8ab48cf18
|
||||||
|
TextureImporter:
|
||||||
|
fileIDToRecycleName: {}
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 9
|
||||||
|
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: 2
|
||||||
|
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
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 65
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 56
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: eda418f403857314f81a55c3797592ed
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
spritePackingTag: FlyUpAtlas
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -33,6 +33,9 @@ end
|
||||||
function this:BindEvent()
|
function this:BindEvent()
|
||||||
Util.AddClick(this.confirm,function()
|
Util.AddClick(this.confirm,function()
|
||||||
--检测该英雄已附身神印
|
--检测该英雄已附身神印
|
||||||
|
if self.heroD==nil then
|
||||||
|
return
|
||||||
|
end
|
||||||
if PracticeManager.CheckHeroWearImprint(self.heroD.dynamicId) then
|
if PracticeManager.CheckHeroWearImprint(self.heroD.dynamicId) then
|
||||||
MsgPanel.ShowTwo("该神将已附身其他神印,是否替换?", nil, function()
|
MsgPanel.ShowTwo("该神将已附身其他神印,是否替换?", nil, function()
|
||||||
parent:ClosePanel()
|
parent:ClosePanel()
|
||||||
|
|
@ -117,7 +120,7 @@ function this:ShowSingleData(go,heroData,index)
|
||||||
end
|
end
|
||||||
local star,starType = heroData.GetStar(1)
|
local star,starType = heroData.GetStar(1)
|
||||||
SetHeroStars(self.spLoader, starGrid, star,starType)
|
SetHeroStars(self.spLoader, starGrid, star,starType)
|
||||||
SetHeroFlyEffect(Util.GetGameObject(go, "GameObject"),self.spLoader,heroData.star,sortingOrder + 1,1,3,0,true)
|
SetHeroFlyEffect(Util.GetGameObject(go, "GameObject"),self.spLoader,heroData.star,sortingOrder + 1,1,3 ,0,true)
|
||||||
local meshs1=starGrid:GetComponentsInChildren(typeof(UnityEngine.ParticleSystem))
|
local meshs1=starGrid:GetComponentsInChildren(typeof(UnityEngine.ParticleSystem))
|
||||||
for key, value in pairs(meshs1:ToTable()) do
|
for key, value in pairs(meshs1:ToTable()) do
|
||||||
local mat=value:GetComponent(typeof(UnityEngine.Renderer))
|
local mat=value:GetComponent(typeof(UnityEngine.Renderer))
|
||||||
|
|
|
||||||
|
|
@ -258,6 +258,7 @@ function PracticeImprint:ShowSingleImprintInfoLayout(_serverData,_configData)
|
||||||
proIcon.sprite = self.spLoader:LoadSprite(GetProStrImageByProNum(heroData.heroConfig.PropertyName))
|
proIcon.sprite = self.spLoader:LoadSprite(GetProStrImageByProNum(heroData.heroConfig.PropertyName))
|
||||||
local star,starType = heroData.GetStar(1)
|
local star,starType = heroData.GetStar(1)
|
||||||
SetHeroStars(self.spLoader,starGrid, star,starType)
|
SetHeroStars(self.spLoader,starGrid, star,starType)
|
||||||
|
SetHeroFlyEffect(self.Hero,self.spLoader,heroData.star,self.sortingOrder+1,1,2,0)
|
||||||
Util.SetParticleSortLayer(starGrid,self.sortingOrder + 1)
|
Util.SetParticleSortLayer(starGrid,self.sortingOrder + 1)
|
||||||
curhero = _serverData.subId
|
curhero = _serverData.subId
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue