CreationContext
This structure holds information used during UXML template instantiation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<CreationContext>
public struct CreationContext : IEquatable<CreationContext>
Properties
Property | Description |
|---|---|
| target | The element into which the CreationContext.visualTreeAsset is being cloned or instantiated. VisualTreeAsset.CloneTreeVisualTreeAsset.Instantiate |
| visualTreeAsset | The target UXML file to clone or instantiate. |