文档

Unity Engine

Unity Engine

CreationContext

This structure holds information used during UXML template instantiation.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct CreationContext : IEquatable<CreationContext>

Properties

Property

Description

targetThe element into which the CreationContext.visualTreeAsset is being cloned or instantiated. VisualTreeAsset.CloneTreeVisualTreeAsset.Instantiate
visualTreeAssetThe target UXML file to clone or instantiate.