default location of new nodes more to the right

This commit is contained in:
galister
2022-05-10 20:03:40 +02:00
committed by Haï~
parent d2ed56681c
commit e14e2850a5
+1 -1
View File
@@ -247,7 +247,7 @@ namespace AnimatorAsCode.V0
internal Vector3 LastNodePosition()
{
return _childNodes.LastOrDefault()?.GetPosition() ?? Vector3.zero;
return _childNodes.LastOrDefault()?.GetPosition() ?? Vector3.right * _gridShiftX * 2;
}
private Vector3 GridPosition(int x, int y)