Method FindNearestLine
FindNearestLine(TMP_Text, Vector3, Camera)
Function returning the line nearest to the position.
Declaration
public static int FindNearestLine(TMP_Text text, Vector3 position, Camera camera)
Parameters
Type | Name | Description |
---|---|---|
TMP_Text | text | |
Vector3 | position | |
Camera | camera |
Returns
Type | Description |
---|---|
int |