文档

Unity Engine

Unity Engine

dataSource

The data source that was resolved for a given binding.
阅读时间1 分钟最后更新于 1 个月前

Definition

public object dataSource { get; }

Remarks

If a Binding implements the IDataSourceProvider interface and provides its own data source, it will automatically be used as the resolved data source; otherwise the data source will be resolved to the first valid data source on the target element or its ancestors. This value can be
null
.