Method CloneFields
| Improve this Doc View SourceCloneFields(GameObject, GameObject)
Clones all fields from this GameObject to objectToClone.
Declaration
public static void CloneFields(this GameObject gameObject, GameObject objectToClone)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | |
GameObject | objectToClone |