resolveComponentIndices method

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

Implementation

@override
void resolveComponentIndices(List<ActorComponent?> components) {
  super.resolveComponentIndices(components);
  if (parent != null) {
    // This works because nodes are exported in hierarchy order,
    // so we are assured constraints get added in order as we resolve indices.
    parent!.addConstraint(this);
  }
}