{"id":13663139,"url":"https://github.com/Eldoir/Array2DEditor","last_synced_at":"2025-04-25T13:31:48.955Z","repository":{"id":47794683,"uuid":"114896939","full_name":"Eldoir/Array2DEditor","owner":"Eldoir","description":"Use 2-dimensional arrays in Unity's Inspector.","archived":false,"fork":false,"pushed_at":"2023-07-24T19:24:17.000Z","size":1146,"stargazers_count":174,"open_issues_count":5,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-10T19:34:17.687Z","etag":null,"topics":["arrays","editor","plugin","unity"],"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/Eldoir.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-20T14:34:14.000Z","updated_at":"2024-11-02T17:01:23.000Z","dependencies_parsed_at":"2024-08-02T05:27:16.568Z","dependency_job_id":null,"html_url":"https://github.com/Eldoir/Array2DEditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eldoir%2FArray2DEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eldoir%2FArray2DEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eldoir%2FArray2DEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eldoir%2FArray2DEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eldoir","download_url":"https://codeload.github.com/Eldoir/Array2DEditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250824980,"owners_count":21493373,"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":["arrays","editor","plugin","unity"],"created_at":"2024-08-02T05:02:18.951Z","updated_at":"2025-04-25T13:31:43.936Z","avatar_url":"https://github.com/Eldoir.png","language":"C#","readme":"# Array2DEditor\n\nUse this if you want to deal with 2D arrays easily within the inspector of Unity.\n\n## Getting Started\n\nFor a quick import into an existing project, just get the [UnityPackage](Array2DEditorPackage.unitypackage). It also contains some examples.\n\nThe `Array2DEditor` folder on this repo is an empty project with only the plugin imported! 🙂\n\nTo get started:\n- Just use the types defined by `Array2DEditor`, such as `Array2DInt`, `Array2DBool`, `Array2DString`...\n- Don't forget to add `using Array2DEditor` on top of your script.\n- You can then use the method `GetCells()` or `GetCell(int x, int y)` on your variable to get the values from your array at runtime!\n\n## See it in action\n\n![Example 2](Screenshots/Example_2.gif)\n![Example 1](Screenshots/Example_1.PNG)\n\n## Create arrays from your own types!\n\nTo do that:\n- Create a new class inheriting from `CellRow\u003cT\u003e` with your own type as the `T` type.\n\t- See the classes in `CellRowTypes` as an example.\n- Create a new class inheriting from `Array2D\u003cT\u003e` with your own type as the `T` type.\n\t- See the existing `Array2D\u003cT\u003e` classes that you can find in the `Array2DTypes` folder as an example.\n- Create a new class inheriting from `Array2DDrawer` and put it in an `Editor` folder.\n\t- See the existing `Array2DDrawer` classes that you can find in the `Editor/PropertyDrawers` folder as an example.\n- If your type is an enum, you can make your `PropertyDrawer` inherit directly from `Array2DEnumDrawer`. The code will then be trivial.\n\t- See `Array2DExampleEnumDrawer` as an example.\n\n## Notes\n\n* The plugin currently does not display well with collections of Array2D's (such as arrays or lists).\n* Array2D's don't display in a ScrollView, so you're limited to a certain grid width before it goes out of the Inspector window. On a 1080p screen with a fullscreen Inspector window, you can have 50 cells with a 32px cell width, or 90 cells with a 16px cell width. You can change the cell size at any moment from the Inspector using the dropdown menu of any Array2D.\n* Last tested with [Unity 2019.4.13f1 (LTS)](https://unity3d.com/unity/whats-new/2019.4.13).\n\n## Authors\n\n* **[Arthur Cousseau](https://www.linkedin.com/in/arthurcousseau/)**\n* Thanks to **[Bugbyte Studio](https://www.linkedin.com/in/bugbytestudio/)** for the idea of using Enums in `Array2DEditor`.\n* Thanks to **[CarlosManuelRodr](https://github.com/carlosmanuelrodr)** for the idea of using Sprites (and Objects in general) in `Array2DEditor`.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","funding_links":[],"categories":["C\\#"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEldoir%2FArray2DEditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEldoir%2FArray2DEditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEldoir%2FArray2DEditor/lists"}