1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

[Mono] AABB - Position, Size, End setters, Rect2 - End setter

This commit is contained in:
Kelly Thomas
2018-08-23 23:45:18 +08:00
parent e3014467e4
commit 46207ae7aa
2 changed files with 98 additions and 103 deletions

View File

@@ -29,6 +29,7 @@ namespace Godot
public Vector2 End
{
get { return _position + _size; }
set { _size = value - _position; }
}
public real_t Area