Borodar.ReorderableList.ReorderableListControl.DrawEmptyListControl C# (CSharp) Метод

DrawEmptyListControl() приватный Метод

Draw content for empty list (layout version).
private DrawEmptyListControl ( Rect position, DrawEmptyAbsolute drawEmpty ) : void
position UnityEngine.Rect Position of list control in GUI.
drawEmpty DrawEmptyAbsolute Callback to draw empty content.
Результат void
        private void DrawEmptyListControl(Rect position, DrawEmptyAbsolute drawEmpty)
        {
            if (Event.current.type == EventType.Repaint)
                ContainerStyle.Draw(position, GUIContent.none, false, false, false, false);

            // Take padding into consideration when drawing empty content.
            position = ContainerStyle.padding.Remove(position);

            if (drawEmpty != null)
                drawEmpty(position);
        }