mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-18 01:54:35 +08:00
fix RectUtility
This commit is contained in:
parent
351955454c
commit
badff9772f
@ -67,7 +67,7 @@ namespace DCFApixels.DragonECS.Unity.Internal
|
||||
{
|
||||
Rect result = rect;
|
||||
result.center += addVector;
|
||||
return rect;
|
||||
return result;
|
||||
}
|
||||
public static Rect Move(in this Rect rect, float addX, float addY)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user