SetPosition() public method

public SetPosition ( float x, float y ) : void
x float
y float
return void
示例#1
0
 static public int SetPosition(IntPtr l)
 {
     try {
         FairyGUI.Utils.HtmlInput self = (FairyGUI.Utils.HtmlInput)checkSelf(l);
         System.Single            a1;
         checkType(l, 2, out a1);
         System.Single a2;
         checkType(l, 3, out a2);
         self.SetPosition(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }