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

DrawControlFromState() публичный статический Метод

Generate and draw control from state object.
public static DrawControlFromState ( IReorderableListAdaptor adaptor, DrawEmpty drawEmpty, ReorderableListFlags flags ) : void
adaptor IReorderableListAdaptor Reorderable list adaptor.
drawEmpty DrawEmpty Delegate for drawing empty list.
flags ReorderableListFlags Optional flags to pass into list field.
Результат void
        public static void DrawControlFromState(IReorderableListAdaptor adaptor, DrawEmpty drawEmpty, ReorderableListFlags flags)
        {
            int controlID = GetReorderableListControlID();

            var control = GUIUtility.GetStateObject(typeof(ReorderableListControl), controlID) as ReorderableListControl;
            control.Flags = flags;
            control.Draw(controlID, adaptor, drawEmpty);
        }

Same methods

ReorderableListControl::DrawControlFromState ( Rect position, IReorderableListAdaptor adaptor, DrawEmptyAbsolute drawEmpty, ReorderableListFlags flags ) : void