public static Vector2 ToVector2(this MWVector2 _this) { return(new Vector2() { x = _this.X, y = _this.Y }); }
public static MWVector2 ApplyPatch(this MWVector2 _this, Vector2Patch vector) { if (vector == null) { return(_this); } if (vector.X != null) { _this.X = vector.X.Value; } if (vector.Y != null) { _this.Y = vector.Y.Value; } return(_this); }
public static MWVector2 FromGodotVector2(this MWVector2 _this, Vector2 other) { _this.X = other.x; _this.Y = other.y; return(_this); }
public Vector2Patch(MWVector2 vector) { X = vector.X; Y = vector.Y; }
public static Vector2 ToVector2(this MWVector2 _this) { return(new Vector2(_this.X, _this.Y)); }