Bona Data Editor is a Unity3D editor extension, made to simplify working with data.
Classes inheriting from ScriptableObject and MonoBehaviour can use the [BonaDataEditor]
attribute (available in the Fyrvall.BonaEditor
namespace)to be exposed in the editor window.
When exposed and chosen, any scriptable object instances of a given type, or prefab with a specific
monobehaviour component will be displayed in the editor sorted by name, regardless of their
location in the project folder.
Several editor instances can be open simultaneously. Searching by name among instances are supported and
next to every asset is a folder icon, allowing you to see its location in your Unity project folder.
First you need a cope of the software.
The editor extension can be added Unity's package manager from 'Add package from git URL'
You need to put the Bona Data Editor content inside your Unity project's Asset folder.
Decorate a class with the attribute. By default the class's name will be displayed.
using Fyrvall.DataEditor;
[BonaDataEditor]
class TestClass: ScriptableObject {}
or
[Fyrvall.DataEditor.BonaDataEditor]
class TestClass: ScriptableObject {}
If you want to display another name for your class in the editor, enter a DisplayName
for it in the attribute.
using Fyrvall.DataEditor;
[BonaDataEditor(DisplayName = "Some other name")]
class TestClass: ScriptableObject {}
This project is released as Open Source under a MIT license.