void OnMouseDown()
 {
     x.setMargins(0.1f, 0.0f);
     BannerAdds.Rules[] rules = new BannerAdds.Rules[1];
     rules[0] = BannerAdds.Rules.ALIGN_PARENT_BOTTOM;
     x.setRules(rules, 1);
 }
Ejemplo n.º 2
0
 void OnMouseDown()
 {
     BannerAdds.Rules[] rules = new BannerAdds.Rules[2];
     rules[0] = BannerAdds.Rules.ALIGN_PARENT_LEFT;
     rules[1] = BannerAdds.Rules.CENTER_VERTICAL;
     x.setRules(rules, 2);
 }