Update to 54d81da32fff0d1c215a598a61fc33167bf152e0
This commit is contained in:
parent
ec29f94cff
commit
eef006cda3
1 changed files with 1 additions and 1 deletions
|
@ -80,5 +80,5 @@ func stringarray_to_array(array: Array[String]) -> Array:
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
func center_object(parent_size: Vector2, child_size: Vector2) -> Vector2:
|
func get_center(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)
|
return Vector2(parent_size.x/2-child_size.x/2, parent_size.y/2-child_size.y/2)
|
||||||
|
|
Loading…
Reference in a new issue