copyComponent method

void copyComponent(
  1. ActorComponent component,
  2. ActorArtboard resetArtboard
)

Implementation

void copyComponent(ActorComponent component, ActorArtboard resetArtboard) {
  _name = component._name;
  artboard = resetArtboard;
  _parentIdx = component._parentIdx;
  idx = component.idx;
}