Example #1
0
        public override void OnGUI()
        {
            if (CandinatesList != null)
            {
                UpdateCandinates();

                var LastRect = GUILayoutUtility.GetLastRect();
                CandinatesList.OnGUI(LastRect);
            }

            CheckCandinateState();
        }
Example #2
0
        public override void OnGUI()
        {
            if (!CheckCandinateState(CurrentCommand))
            {
                return;
            }

            DebugHelper.Assert(CurrentCommand != null);

            UpdateCandinates();

            CandinatesList.OnGUI(GUILayoutUtility.GetLastRect());
        }