{"id":19099993,"url":"https://github.com/andeart/unitylabs.reorderablelisteditor","last_synced_at":"2025-09-04T09:44:37.788Z","repository":{"id":45632382,"uuid":"164352666","full_name":"andeart/UnityLabs.ReorderableListEditor","owner":"andeart","description":"Editor that draws all lists/arrays in Unity Inspector as re-orderable by default.","archived":false,"fork":false,"pushed_at":"2024-08-27T00:24:54.000Z","size":7013,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T03:20:34.484Z","etag":null,"topics":["inspector","serialization","unity","unity-editor","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andeart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-06T22:55:26.000Z","updated_at":"2024-08-27T00:24:56.000Z","dependencies_parsed_at":"2022-09-15T17:51:44.789Z","dependency_job_id":null,"html_url":"https://github.com/andeart/UnityLabs.ReorderableListEditor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FUnityLabs.ReorderableListEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FUnityLabs.ReorderableListEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FUnityLabs.ReorderableListEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FUnityLabs.ReorderableListEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andeart","download_url":"https://codeload.github.com/andeart/UnityLabs.ReorderableListEditor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251740263,"owners_count":21636008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["inspector","serialization","unity","unity-editor","unity3d"],"created_at":"2024-11-09T03:52:25.259Z","updated_at":"2025-04-30T16:22:47.431Z","avatar_url":"https://github.com/andeart.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UnityLabs.ReorderableListEditor\n\n\n[![nuget-release](https://img.shields.io/nuget/v/Andeart.ReorderableListEditor.svg?logo=nuget\u0026logoSize=auto)](https://www.nuget.org/packages/Andeart.ReorderableListEditor) [![nuget-dls](https://img.shields.io/nuget/dt/Andeart.ReorderableListEditor.svg?logo=nuget\u0026logoSize=auto)](https://www.nuget.org/packages/Andeart.ReorderableListEditor)\u003cbr /\u003e\n[![github-release](https://img.shields.io/github/release/andeart/UnityLabs.ReorderableListEditor.svg?label=github\u0026logo=github\u0026logoSize=auto)](https://github.com/andeart/UnityLabs.ReorderableListEditor/releases/latest) [![github-dls](https://img.shields.io/github/downloads/andeart/UnityLabs.ReorderableListEditor/total.svg?logo=github\u0026logoSize=auto)](https://github.com/andeart/UnityLabs.ReorderableListEditor/releases/latest)\u003cbr/\u003e\n\nEditor that draws all lists/arrays in Unity Inspector as re-orderable by default.\n\n![ReorderableListEditor.gif](https://user-images.githubusercontent.com/6226493/53707244-0870ee00-3de3-11e9-8f00-e337539401ef.gif)\n\nThis is inspired by [Valentin Simonov's blog article about reorderable lists](http://va.lent.in/unity-make-your-lists-functional-with-reorderablelist/), with additional tweaks and functionality.\n\nThis custom editor overrides Unity's default SerializedProperty drawing for arrays and lists.  \nThe majority of the Editor code in this project is protected/virtual, allowing developers an easy to write custom editors that use/extend this reordering feature.  \n  \nThe above gif is the direct result of writing the following code in a project that includes this lib.  \n\n```csharp\n\n[Serializable]\npublic struct MyData\n{\n    [SerializeField]\n    private string _name;\n    [SerializeField] [Range (0f, 1f)]\n    private float _floatInRange;\n}\n\npublic class MainContext : MonoBehaviour\n{\n    [SerializeField]\n    private int[] _integers;\n\n    [SerializeField]\n    private MyData[] _dataObjects;\n\n    [SerializeField]\n    private ScriptableObject[] _scriptableObjects;\n}\n``` \nNotice the absence of any specialised types or attributes. This also works with public fields that Unity auto-serializes, though I personally prefer to avoid those.\n\n## Installation and Usage\n\n- Download the `Andeart.ReorderableListEditor.dll` file from [the NuGet page](https://www.nuget.org/packages/Andeart.ReorderableListEditor), or from [the Github releases page](https://github.com/andeart/UnityLabs.ReorderableListEditor/releases/latest).\n- Add this file anywhere in your Unity project. Any sub-directory under Assets will work- **it does not need to be under an Editor folder**.\n- Optional: Also drop the `Andeart.ReorderableListEditor.pdb` and `Andeart.ReorderableListEditor.xml` files in the same location if you're interested in debugging.\n- All of your serialized/public arrays/lists should be re-orderable by default now. Go build some magic.\n\n## Feedback\n\nPlease feel free to send merge requests, or drop me a message. Cheers!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandeart%2Funitylabs.reorderablelisteditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandeart%2Funitylabs.reorderablelisteditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandeart%2Funitylabs.reorderablelisteditor/lists"}