Non Gamstop CasinosNon Gamstop Casino UKCasinos Sin Licencia En EspañaBest Slot Sites
2D Array Editor by Eldoir - 1

Extensions

Bits of code to get a 2-dimensional array viewable from Unity's custom inspector.

Unknown VersionMIT LicenseUpdated 2 years agoCreated on December 20th, 2017
Go to source

2DArrayEditor

Use this if you want to deal with 2D arrays easily within the inspector of Unity.

Getting Started

For a quick import into an existing project, just get the UnityPackage.

The 2DArrayEditor folder is an empty project with only the plugin imported and some examples! 😃

Then, when you’re in your project:

  • Right click in your Project or Hierarchy window, or go to the Assets menu tab.
  • Go to Create -> Eldoir -> Piece
  • A new file named “Piece_Data” is created.
  • Feel free to change the grid size! 😃

Prerequisites

There are absolutely no prerequisites to this plugin.

Everything comes into a few files (and most of them are used for demo).

Screenshots

Example 1

Notes

  • Last tested with Unity 2018.2.1f1.

Authors

  • Arthur Cousseau

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Going further…

We could do many things on top of this.

For example:

  • Warn the user before changing the grid size, as it cleans the grid.
  • Better UI to choose whatever size we want.
  • Generic template to display not only arrays of booleans, but also arrays of ints, etc…
Show all projects by Eldoir

Popular choices