DirectConvertor View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2019.4.16 or later
Package size
345 KB
Files
27
Views in the past week
4

Price tracking

Last checked
Tracked since
Lowest recorded
$9.99 on

Keywords

DirectConvertor

by Sergey Jakovlev (opens in new tab)

No ratings yet

Price $9.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for DirectConvertor, 6 months Current $9.99; lowest $9.99; highest $9.99 in this period. $0 $5 $10 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

DirectConvertor screenshot 1

DirectConvertor screenshot 1

About this asset

Direct conversions are alternative to serialisation. Two formats are used:

  • text format, which is most representative. Class fields are converted into text and separated by indents (\t) and line wraps (\n);
  • binary, wich is most economical. Class fields are converted into bytes sequence.

Results can be written in file immediately or produced as dump, which consequently can be written or sent via network.

Many approaches to serialization control use class attributes and reflection, which creates a lot of inconveniences and slows down the process. Direct conversions instead use a specially developed set of classes and interfaces, which allow customising flexibly which fields will be converted into integrated file or data dump.

Current version supports conversion of following frequently used fields:

  • Primitive types: string, int, float, bool;
  • Specific types: Guid, Vector3, Transform;
  • Hierarchical aggregation of objects, including Unity components (prefabs);
  • Generalised lists List<> both with primitive types and with objects (including nested lists and dictionaries);
  • Dictionaries Dictionary<,> with string or int as keys, and primitive types and objects (including nested lists and dictionaries) as values.

If necessary, new types can be added comparatively easily.

Guide and examples

Manual EN

Manual RU

From the publisher's Asset Store listing.