public override void OnGUI() { if (CandinatesList != null) { UpdateCandinates(); var LastRect = GUILayoutUtility.GetLastRect(); CandinatesList.OnGUI(LastRect); } CheckCandinateState(); }
public override void OnGUI() { if (!CheckCandinateState(CurrentCommand)) { return; } DebugHelper.Assert(CurrentCommand != null); UpdateCandinates(); CandinatesList.OnGUI(GUILayoutUtility.GetLastRect()); }