struct CloneConfig

robot_2Generated
code_blocksInput

Description

The CloneConfig struct in the Sandbox namespace is used as the 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 GameObject that will be the parent of the cloned object.
PrefabVariablesObsolete. A dictionary of prefab variables for the cloned object.