Editor-only IMGUI utility elements for Unity editor tooling.
ReorderableListViewTracks item rects, handles Unity DragAndDrop, draws an insertion marker, and reports a source and destination index.
var view = new ReorderableListView("my-list");
view.ClearItemRects();
view.AddItemRect(rowRect);
view.DrawTailDropZone();
view.HandleDragAndDrop((from, to) => MoveItem(from, to));
DragHandleGUIDraws a compact drag handle and returns true when the handle starts a drag.
if (DragHandleGUI.Draw(handleRect))
{
view.BeginReorderDrag(index);
}
SerializedArrayReorderMoves an array element on a SerializedProperty and records Undo for the target object.
SerializedArrayReorder.Move(serializedObject, arrayProperty, from, to, target, "Reorder Items");
using KIBA_.GUIElement.Reorder.Editor;
MIT
com.kibalab.guielement
未設定
0.1.0
2021.3 以降
なし
なし
なし
未設定