Modular Architecture V1.0.0
Loading...
Searching...
No Matches
ModularArchitecture.Data.DataContainer< T > Class Template Referenceabstract

A Asset File containing a value of any given type
Used for modular / data-driven design, and referenced in DataReference.
DataContainer is an abstract class because Unity cannot make generic Scriptable Objects
Any Child of DataContainer ( different types ) should be made wrapper children. More...

Inheritance diagram for ModularArchitecture.Data.DataContainer< T >:
ModularArchitecture.Data.BoolVariable ModularArchitecture.Data.ConditionVariable ModularArchitecture.Data.FloatVariable ModularArchitecture.Data.IntVariable ModularArchitecture.Data.StringVariable

Static Public Member Functions

static implicit operator T (DataContainer< T > aVariable)

Public Attributes

value

Detailed Description

A Asset File containing a value of any given type
Used for modular / data-driven design, and referenced in DataReference.
DataContainer is an abstract class because Unity cannot make generic Scriptable Objects
Any Child of DataContainer ( different types ) should be made wrapper children.

Template Parameters
TTemplated Type Field for any type that can be stored in a data object

Member Function Documentation

◆ operator T()

implicit ModularArchitecture.Data.DataContainer< T >.operator T ( DataContainer< T > aVariable)
inlinestatic

Member Data Documentation

◆ value

T ModularArchitecture.Data.DataContainer< T >.value

The documentation for this class was generated from the following file:
  • Runtime/Data Containers/DataContainer.cs