Click or drag to resize

ComponentSingleSetterTComponent, TData Class

Base class for a setter for a component.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Core.PresentationDataBindingOperator
            Slash.Unity.DataBind.Foundation.SettersSingleSetter
              Slash.Unity.DataBind.Foundation.SettersSingleSetterTData
                Slash.Unity.DataBind.Foundation.SettersComponentSingleSetterTComponent, TData
                  More...

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

Type Parameters

TComponent
Type of component.
TData
Type of data to set.

The ComponentSingleSetterTComponent, TData type exposes the following members.

Constructors
  NameDescription
Protected methodComponentSingleSetterTComponent, TData
Initializes a new instance of the ComponentSingleSetterTComponent, TData class
Top
Properties
  NameDescription
Protected propertyTarget
Current target to get data from.
Top
Methods
  NameDescription
Public methodDeinit
Deinitializes the operator. By default this method removes the added bindings.
(Overrides SingleSetterDeinit.)
Public methodDisable
Disable the operator.
(Overrides SingleSetterDisable.)
Public methodEnable
Enable the operator.
(Overrides SingleSetterEnable.)
Public methodInit
Initializes the operator. This method should be used to add bindings.
(Overrides SingleSetterInit.)
Public methodOnAfterDeserialize

Implement this method to receive a callback after Unity deserializes your object.

Public methodOnBeforeSerialize

Implement this method to receive a callback before Unity serializes your object.

Protected methodOnValueChanged
Called when the data binding value changed.
(Overrides SingleSetterTOnValueChanged(T).)
Protected methodReset
Unity callback.
Protected methodUpdateTargetValue
Called when data value on target should be updated.
Top
Fields
  NameDescription
Public fieldTargetBinding
Target to get the data from.
Top
See Also
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Core.PresentationDataBindingOperator
            Slash.Unity.DataBind.Foundation.SettersSingleSetter
              Slash.Unity.DataBind.Foundation.SettersSingleSetterTData
                Slash.Unity.DataBind.Foundation.SettersComponentSingleSetterTComponent, TData
                  Slash.Unity.DataBind.Addons.TextMeshPro.SettersTextMeshProTextSetter
                  Slash.Unity.DataBind.Foundation.SettersAnimatorParameterSetterT
                  Slash.Unity.DataBind.Foundation.SettersAnimatorSpeedSetter
                  Slash.Unity.DataBind.Foundation.SettersAnimatorTriggerSetter
                  Slash.Unity.DataBind.Foundation.SettersBehaviourEnabledSetter
                  Slash.Unity.DataBind.Foundation.SettersContextHolderContextSetter
                  Slash.Unity.DataBind.Foundation.SettersItemsSetter
                  Slash.Unity.DataBind.Foundation.SettersMeshFilterMeshSetter
                  Slash.Unity.DataBind.Foundation.SettersMeshRendererMaterialSetter
                  Slash.Unity.DataBind.Foundation.SettersSkyboxMaterialSetter
                  Slash.Unity.DataBind.Foundation.SettersSpriteRendererSpriteSetter
                  Slash.Unity.DataBind.Foundation.SettersTransformLocalPositionSetter
                  Slash.Unity.DataBind.Foundation.SettersTransformLocalRotationSetter
                  Slash.Unity.DataBind.Foundation.SettersTransformPositionSetter
                  Slash.Unity.DataBind.Foundation.SettersTransformRotationSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersButtonEnabledSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersInputValueSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersLabelTextSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersPopupListDataSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersPopupListValueSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersProgressBarValueSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersSliderValueSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersSpriteFillAmountSetter
                  Slash.Unity.DataBind.UI.NGUI.SettersSpriteNameSetter
                  Slash.Unity.DataBind.UI.Unity.SettersCanvasGroupInteractableSetter
                  Slash.Unity.DataBind.UI.Unity.SettersCanvasSortingOrderSetter
                  Slash.Unity.DataBind.UI.Unity.SettersDropdownOptionsSetter
                  Slash.Unity.DataBind.UI.Unity.SettersGraphicColorSetter
                  Slash.Unity.DataBind.UI.Unity.SettersImageFillAmountSetter
                  Slash.Unity.DataBind.UI.Unity.SettersImageMaterialSetter
                  Slash.Unity.DataBind.UI.Unity.SettersImageSpriteSetter
                  Slash.Unity.DataBind.UI.Unity.SettersInputFieldTextSetter
                  Slash.Unity.DataBind.UI.Unity.SettersSelectableInteractableSetter
                  Slash.Unity.DataBind.UI.Unity.SettersSliderValueSetter
                  Slash.Unity.DataBind.UI.Unity.SettersTextTextSetter
                  Slash.Unity.DataBind.UI.Unity.SettersToggleIsOnSetter