Update to c79ac9f4306524e73c0c1be4875ffe0b79e1aad6
This commit is contained in:
parent
1a002cb296
commit
ec29f94cff
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue