コード例 #1
0
 void OnMouseDown()
 {
     x.setMargins(0.1f, 0.0f);
     AdmobVNTIS.Rules[] rules = new AdmobVNTIS.Rules[1];
     rules [0] = AdmobVNTIS.Rules.ALIGN_PARENT_BOTTOM;
     x.setRules(rules, 1);
 }
コード例 #2
0
    void OnMouseDown()
    {
        AdmobVNTIS x = AdmobVNTIS._get();

        if (x != null)
        {
            x.setMargins(0.3f, 0.3f);
            Toast.showText("You've just clicked margin", Toast.LENGTH_SHORT);
        }
    }
コード例 #3
0
    void OnMouseDown()
    {
        AdmobVNTIS x = AdmobVNTIS._get();

        if (x != null)
        {
            x.setMargins(0.1f, 0.0f);
            AdmobVNTIS.Rules[] rules = new AdmobVNTIS.Rules[1];
            rules [0] = AdmobVNTIS.Rules.ALIGN_PARENT_BOTTOM;
            x.setRules(rules, 1);
            Toast.showText("You've just clicked margin&align", Toast.LENGTH_SHORT);
        }
    }
コード例 #4
0
 void OnMouseDown()
 {
     x.setMargins(0.3f, 0.3f);
 }