Click or drag to resize
GameObjectClone Method
Clone this game object.

Namespace:  GeonBit.ECS
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public GameObject Clone(
	string newName = null,
	bool copyParent = false
)

Parameters

newName (Optional)
Type: SystemString
Name to give to the cloned game object.
copyParent (Optional)
Type: SystemBoolean
If true, will also copy parent.

Return Value

Type: GameObject
Clonsed game object.
See Also