2025-06-04 05:02:57 +08:00

15 lines
359 B
Plaintext

local UITips = class("Charactor",BaseView)
-- UITips.ViewType = UIViewType.TipLayer
function UITips:Init()
self.contentLabel = GameObjectUtil.Instance:DeepFindChild(self.gameObject,"contentLabel"):GetComponent(UILabel);
end
function UITips:SetString(value)
if(self.contentLabel~=nil)then
self.contentLabel.text = tostring(value)
end
end
return UITips