Click or drag to resize

ComponentDataSynchronizerTComponent, TData Class

Generic base class for a component data synchronizer.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Core.PresentationDataBindingOperator
            Slash.Unity.DataBind.Foundation.SynchronizersComponentDataSynchronizer
              Slash.Unity.DataBind.Foundation.SynchronizersComponentDataSynchronizerTComponent, TData
                Slash.Unity.DataBind.UI.Unity.SynchronizersInputFieldTextSynchronizer
                Slash.Unity.DataBind.UI.Unity.SynchronizersSliderValueSynchronizer

Namespace:  Slash.Unity.DataBind.Foundation.Synchronizers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public abstract class ComponentDataSynchronizer<TComponent, TData> : ComponentDataSynchronizer
where TComponent : Component

Type Parameters

TComponent
Type of component this synchronizer is for.
TData
Type of data to work with.

The ComponentDataSynchronizerTComponent, TData type exposes the following members.

Constructors
  NameDescription
Protected methodComponentDataSynchronizerTComponent, TData
Initializes a new instance of the ComponentDataSynchronizerTComponent, TData class
Top
Properties
  NameDescription
Public propertyTarget
Current target component to get data value from.
Top
Methods
  NameDescription
Protected methodReset
Unity callback.
Protected methodSetComponentValue
Sets a new data value on the target component.
(Overrides ComponentDataSynchronizerSetComponentValue(Object).)
Protected methodSetTargetValue
Sets a new value on the target component.
Top
See Also