HandleUtility.AddControl

public static void AddControl(int controlId, float distance);

Description

Record a distance measurement from a handle.

All handles call this with their controlID during layout, then use nearestControl to check if they got the mouseDown.

Did you find this page useful? Please give it a rating: