Skip to content

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.

License

Notifications You must be signed in to change notification settings

HokageMinato/SerializedTuplesForUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serialized-Tuples For Unity

Serialized Tuples allow you to create data objects with any type combinations you desire.

Declarations range from SerializedTuple to SeralizedTuple<T1,T2,T3,T4,T5,T6,T7,T8> 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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages