2
0
Fork 0

Update to c79ac9f4306524e73c0c1be4875ffe0b79e1aad6

This commit is contained in:
JeremyStar™ 2024-03-25 17:43:50 +01:00
parent 1a002cb296
commit ec29f94cff

View file

@ -79,3 +79,6 @@ func stringarray_to_array(array: Array[String]) -> Array:
output.append(item)
return output
func center_object(parent_size: Vector2, child_size: Vector2) -> Vector2:
return Vector2(parent_size.x/2-child_size.x/2, parent_size.y/2-child_size.y/2)