dataSourceType
The possible data source types that can be assigned to the binding.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[UxmlAttribute][UxmlTypeReference(typeof(object))][Tooltip("A data source is a collection of information. By default, a binding will inherit the existing data source from the hierarchy. You can instead define another object here as the data source, or define the type of property it may be if the source is not yet available.")]public Type dataSourceType { get; set; }
Remarks
This information is only used by the UI Builder as a hint to provide some completion to the data source path field when the effective data source cannot be specified at design time.