resolveComponentIndices method

  1. @override
void resolveComponentIndices (
  1. List<ActorComponent> components
)
override

Implementation

@override
void resolveComponentIndices(List<ActorComponent> components) {
  super.resolveComponentIndices(components);

  if (_clips == null) {
    return;
  }

  for (final ActorClip clip in _clips) {
    final ActorComponent component = components[clip.clipIdx];
    if (component is ActorNode) {
      clip.node = component;
    }
  }
}