Documentation

Unity Engine

Unity Engine

CreationContext

This structure holds information used during UXML template instantiation.
Read time 1 minuteLast updated a month ago

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.