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.
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.
Member Name | Summary |
---|---|
StartEnabled | Indicates whether the cloned object should be enabled at the start. |
Transform | The transformation to apply to the cloned object. |
Name | The name to assign to the cloned object. |
Parent | The GameObject that will be the parent of the cloned object. |
PrefabVariables | Obsolete. A dictionary of prefab variables for the cloned object. |