主城报错修改提交
parent
cade21c700
commit
9b336aeda9
|
@ -917,11 +917,14 @@ function this.CheckScreenRightRedPoint()
|
|||
|
||||
if UIManager.camera ==nil then
|
||||
return
|
||||
end
|
||||
if not this.btnPokemon then
|
||||
return
|
||||
end
|
||||
if this.btnPokemon.transform==nil then
|
||||
if not this.btnPokemon.gameObject.transform then
|
||||
return
|
||||
end
|
||||
if this.btnColorfulWorld.transform==nil then
|
||||
if not this.btnColorfulWorld.gameObject.transform then
|
||||
return
|
||||
end
|
||||
pos1=RectTransformUtility.WorldToScreenPoint(UIManager.camera,this.btnPokemon.transform.position)
|
||||
|
|
Loading…
Reference in New Issue