--灵宠 require("Util") require("LuaUtil") PetsAllPower= {} local _UIImgTexts function PetsAllPower.Awake( ... ) _UIImgTexts = _UIImgText:GetComponent('UIImgText') end function PetsAllPower.Update() _UIImgTexts.text = CS.GameManager.gameManager.PlayerDataPool.FellowBookData.PetBookTotlePower end