【修行】删除黄点显示

dev_chengFeng
gaoxin 2022-01-04 14:30:22 +08:00
parent c07ba438a0
commit 9de91f4259
1 changed files with 1 additions and 0 deletions

View File

@ -375,6 +375,7 @@ function Practice:RefreshPoints()
end end
self.pointList[i]:SetActive(true) self.pointList[i]:SetActive(true)
self.pointList[i]:GetComponent("Image").sprite = self.spLoader:LoadSprite(data.Img) self.pointList[i]:GetComponent("Image").sprite = self.spLoader:LoadSprite(data.Img)
self.pointList[i]:GetComponent("Image").color = Color.New(1,1,1, data.State == 1 and 0 or 1)
self.pointList[i]:GetComponent("RectTransform").localPosition = data.Pos self.pointList[i]:GetComponent("RectTransform").localPosition = data.Pos
self.effectPointsList[i] = Util.GetGameObject(self.pointList[i],"looping") self.effectPointsList[i] = Util.GetGameObject(self.pointList[i],"looping")
self.effectPointsList[i]:SetActive(data.State == 1) self.effectPointsList[i]:SetActive(data.State == 1)