Clone this game object.
Namespace:
GeonBit.ECS
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax 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:
GameObjectClonsed game object.
See Also