Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Latest commit

 

History

History
49 lines (40 loc) · 1.9 KB

README.md

File metadata and controls

49 lines (40 loc) · 1.9 KB

Bona Data Editor

alt Bona Data editor splash 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.

Getting started

First you need a cope of the software.

Unity Package

The editor extension can be added Unity's package manager from 'Add package from git URL'

Asset store

Manual download

You need to put the Bona Data Editor content inside your Unity project's Asset folder.

Example

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 {}

License

This project is released as Open Source under a MIT license.