read static method

ActorComponent read(
  1. ActorArtboard artboard,
  2. StreamReader reader,
  3. ActorComponent component
)

Implementation

static ActorComponent read(
    ActorArtboard artboard, StreamReader reader, ActorComponent component) {
  component.artboard = artboard;
  component._name = reader.readString('name');
  component._parentIdx = reader.readId('parent');

  return component;
}