CCRoddot - 红点组件
// 界面动态创建红点
m_BtnBag.AddReddot(ReddotGen.Bag);
m_BtnBag.AddReddot(ReddotGen.Bag, ReddotStyle.Style2);
m_BtnBag.AddReddot(ReddotGen.Bag, ReddotStyle.Style3, -5f, 1f);
// 当取红点数据
ReddotHelper.GetValue(ReddotGen.Bag);
// 标记红点数据
ReddotHelper.MarkReddot(ReddotGen.Bag, 1);



作者:阿波罗 创建时间:2024-06-11 18:23
最后编辑:阿波罗 更新时间:2024-06-11 18:28
最后编辑:阿波罗 更新时间:2024-06-11 18:28