private static void BeginHandles()
{
Handles.Init();
if (Event.current.type == EventType.Layout)
{
s_NearestControl = 0;
s_NearestDistance = 5f;
}
Handles.lighting = true;
Handles.color = Color.white;
s_CustomPickDistance = 5f;
Handles.Internal_SetCurrentCamera(null);
EditorGUI.s_DelayedTextEditor.BeginGUI();
}