|
@@ -29,7 +29,9 @@ namespace GFGGame
|
|
|
comRedDot.SetPosition(parentCom.width - comRedDot.width + left, top, 0);
|
|
|
comRedDot.AddRelation(comRedDot, RelationType.TopExt_Top);
|
|
|
comRedDot.AddRelation(comRedDot, RelationType.RightExt_Right);
|
|
|
- comRedDot.GetChild("loaIcon").asLoader.url = ResPathUtil.GetCommonGameResPath(res == "" ? "zx_hogndian" : res);
|
|
|
+ string path = ResPathUtil.GetCommonGameResPath(res == "" ? "zx_hogndian" : res);
|
|
|
+ GLoader loaIcon = comRedDot.GetChild("loaIcon").asLoader;
|
|
|
+ loaIcon.url = path;
|
|
|
}
|
|
|
else
|
|
|
{
|