Skip to content

Mojo3d entity copyto

mojo3d:mojo3d.Entity.CopyTo

Method CopyTo:Void( copy:Entity )#

Helper method for copying an entity.

1) Recursively copies all child entities.

2) Invokes OnCopy for each component attached to this entity.

3) Copies visibility.

4) Invokes Copied signal.