default location of new nodes more to the right
This commit is contained in:
@@ -247,7 +247,7 @@ namespace AnimatorAsCode.V0
|
|||||||
|
|
||||||
internal Vector3 LastNodePosition()
|
internal Vector3 LastNodePosition()
|
||||||
{
|
{
|
||||||
return _childNodes.LastOrDefault()?.GetPosition() ?? Vector3.zero;
|
return _childNodes.LastOrDefault()?.GetPosition() ?? Vector3.right * _gridShiftX * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Vector3 GridPosition(int x, int y)
|
private Vector3 GridPosition(int x, int y)
|
||||||
|
|||||||
Reference in New Issue
Block a user