FairyGUI.Utils.HtmlImage.SetPosition C# (CSharp) Method

SetPosition() public method

public SetPosition ( float x, float y ) : void
x float
y float
return void
        public void SetPosition(float x, float y)
        {
            loader.SetXY(x, y);
        }

Usage Example

Ejemplo n.º 1
0
 static public int SetPosition(IntPtr l)
 {
     try {
         FairyGUI.Utils.HtmlImage self = (FairyGUI.Utils.HtmlImage)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));
     }
 }