read static method

KeyFrame? read(
  1. StreamReader reader,
  2. ActorComponent? component
)
override

Implementation

static KeyFrame? read(StreamReader reader, ActorComponent? component) {
  KeyFrameIntProperty frame = KeyFrameIntProperty();
  if (KeyFrameInt.read(reader, frame)) {
    return frame;
  }
  return null;
}