TransformPoint() public method

public TransformPoint ( Vector2 point, DisplayObject targetSpace ) : Vector2
point UnityEngine.Vector2
targetSpace DisplayObject null if to world space
return UnityEngine.Vector2
 static public int TransformPoint(IntPtr l)
 {
     try {
         FairyGUI.DisplayObject self = (FairyGUI.DisplayObject)checkSelf(l);
         UnityEngine.Vector2    a1;
         checkType(l, 2, out a1);
         FairyGUI.DisplayObject a2;
         checkType(l, 3, out a2);
         var ret = self.TransformPoint(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }