Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IDataSourceProvider

Binding types deriving from Binding can implement this interface to gain an additional layer of data source and data source path. These will be used by the binding system to compute the final BindingContext.dataSource and BindingContext.dataSourcePath that will be passed to the BindingContext during the binding update.
Read time 1 minuteLast updated 13 days ago

Definition

public interface IDataSourceProvider

Remarks

This IDataSourceProvider.dataSource and IDataSourceProvider.dataSourcePath will only affect the binding itself and not the hierarchy.

Properties

Property

Description

dataSourceData source object that is local to the binding object.
dataSourcePathData source path that is local to the binding object.