void Update() { if (GuildSystem.IsGuildMessage()) { if (btns[1].GetComponentInChildren <UISprite>() != null) { btns[1].GetComponentInChildren <UISprite>().MarkOn(UISprite.MarkAnthor.MA_RightTop, -5, -5); } } else { if (btns[1].GetComponentInChildren <UISprite>() != null) { btns[1].GetComponentInChildren <UISprite>().MarkOff(); } } }