private static Rect DoGetAspectRect(float aspect, GUIStyle style, GUILayoutOption[] options)
{
switch (Event.current.type)
{
case EventType.Layout:
current.topLevel.Add(new GUIAspectSizer(aspect, options));
return kDummyRect;
case EventType.Used:
return kDummyRect;
}
return current.topLevel.GetNext().rect;
}