struct CloneConfig

robot_2Generated
code_blocksInput

Description

The CloneConfig struct in the Sandbox namespace is used as a low-level input for cloning a GameObject. It provides configuration options for the cloning process, such as initial state, transformation, and parent object.

Members

Instance Fields

Member NameSummary
StartEnabledIndicates whether the cloned object should be enabled at the start.
TransformThe transformation to apply to the cloned object.
NameThe name to assign to the cloned object.
ParentThe parent GameObject to which the cloned object will be attached.
PrefabVariablesA dictionary of variables to override in the prefab during cloning.