LocalToGlobal() public method

将本地坐标转换为舞台坐标
public LocalToGlobal ( Vector2 point ) : Vector2
point UnityEngine.Vector2
return UnityEngine.Vector2
コード例 #1
0
 static public int LocalToGlobal(IntPtr l)
 {
     try {
         FairyGUI.DisplayObject self = (FairyGUI.DisplayObject)checkSelf(l);
         UnityEngine.Vector2    a1;
         checkType(l, 2, out a1);
         var ret = self.LocalToGlobal(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }