# 1.2.0

## New:

* Added new tags foldout to hierarchy to quickly select objects by available tags.

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2FpjaoXAhc6iuZLbLUD6HW%2Ftags_2.gif?alt=media&#x26;token=43a90904-ec82-40be-8bd2-495c5818da93" alt=""><figcaption></figcaption></figure></div>

* Added type name to DataObject title label in Databrain editor.
* Added possibility to retrieve DataObjects by tags. (GetAllInitialDataObjectsByTags + GetAllRuntimeDataObjectsByTags)

```csharp
public DataLibrary data
// return objects with multiple tags
var _objects = data.GetAllInitialDataObjectsByTags("tag1", "tag2");

```

* Added new attributes:
  * DataObjectSingleton
  * DataObjectCustomNamespaceIcon
  * DataObjectFirstClassType
* New first class types attribute. Those types are being added on top of the hierarchy with custom icon. When using a custom template, you can set the first class option for every type.
* New DataObjectSingleton attribute. Mark a DataObject class as singleton. Single DataObjects can be retrieved using appropriate API on data library. (GetSingleton)

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2FqgMKEIbkNlVxBLGXf7ki%2Fsingleton.png?alt=media&#x26;token=c5714173-e484-488d-af78-15fbff639918" alt=""><figcaption><p>singleton DataObject type</p></figcaption></figure></div>

## Improvements

* Code cleanup.

## Bugfixes

* Fixed AssetReferenceGameObject field not drawing with correct property drawer.
* Fixed DataObjectDropdown indicator not visible when label is too long.
* Fixed DataObjectDropdown icon of selected DataObject not showing.
* Fixed runtime error messages: "A scripted object has a different serialization layout when loading..."
* Fixed issue when removing tags in settings, tags on DataObjects would still remain.
