【引导】修复不明原因引导小手消失的问题
parent
00d42ca8d9
commit
11c0d5f2a5
|
@ -32,6 +32,7 @@ function this:InitComponent()
|
||||||
self.buttonIcon.transform.localPosition = Vector3.zero
|
self.buttonIcon.transform.localPosition = Vector3.zero
|
||||||
self.buttonIcon.transform.localScale = Vector3.one
|
self.buttonIcon.transform.localScale = Vector3.one
|
||||||
self.buttonIcon.transform:SetAsFirstSibling()
|
self.buttonIcon.transform:SetAsFirstSibling()
|
||||||
|
self.buttonIcon:SetActive(true)
|
||||||
|
|
||||||
self.hand = Util.GetGameObject (self.buttonIcon, "GameObject")
|
self.hand = Util.GetGameObject (self.buttonIcon, "GameObject")
|
||||||
|
|
||||||
|
@ -621,7 +622,6 @@ function this:PlayFoucsAnim(targetPos)
|
||||||
if GuideConfig[this.id].Position then
|
if GuideConfig[this.id].Position then
|
||||||
this.dialogRoot:SetActive(true)
|
this.dialogRoot:SetActive(true)
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.tween then
|
if self.tween then
|
||||||
self.tween:Kill()
|
self.tween:Kill()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue