An open API service indexing awesome lists of open source software.

https://github.com/hokageminato/serializedtuplesforunity

Serialized Tuples allow you to create data objects with any type combinations you desire. It also allowes you to decorate each tuple with customized name for accessibility in inspector.
https://github.com/hokageminato/serializedtuplesforunity

plugin tuples unity3d

Last synced: 8 months ago
JSON representation

Serialized Tuples allow you to create data objects with any type combinations you desire. It also allowes you to decorate each tuple with customized name for accessibility in inspector.

Awesome Lists containing this project

README

          

# Serialized-Tuples For Unity
Serialized Tuples allow you to create data objects with any type combinations you desire.

Declarations range from **SerializedTuple** to **SeralizedTuple** allowing various combinations of data.

Use **[SerializedTupleLabels("Your Custom Field Name")]** to decorate each tuple values with appropriate names for inspector accessibility.

There are many usecases where one can use it to cross data accross assemblies, (Provided there is a common reference to this one ofc).
or use it to pass data to nonMono systems where there is a need to link data(parameters) in inspector with systems/classes which are POCC but non serialized.

Values can be access either by tuple.v1/v2/v.n or by invoking _T GetValue(string propertyName)_ or using _T GetValue(int idx)_
Value holder with no labels dont get displayed in inspector,but are useful as data holders and are accessible via value(.v1/v2/v(n)) property.

![alt text]( https://i.ibb.co/XXthDf3/Serialized-Tuples.png )