static public int GetRelativePoint(IntPtr l) { try { UnityEngine.Rigidbody2D self = (UnityEngine.Rigidbody2D)checkSelf(l); UnityEngine.Vector2 a1; checkType(l, 2, out a1); var ret = self.GetRelativePoint(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }