Method GetCenter
GetCenter(bool)
Gets horizontal or vertical coordinate of the center point
depending on isVert parameter value.
public readonly float GetCenter(bool isVert)
Parameters
isVertboolDefines whether to return horizontal or vertical coordinate of the center point.