TransformExtensions.CenterPositionOfChildren
Extension Method in TransformExtensions
Declaration
public static Vector3 CenterPositionOfChildren(this Transform transform)
Description
Calculates the center position of the transform's children.
Parameters
transform | The transform to calculate the center position of. |
Returns
Vector3 | The center position of the transform's children. |