onParentChanged method

  1. @override
void onParentChanged(
  1. ActorNode? from,
  2. ActorNode? to
)
override

Implementation

@override
void onParentChanged(ActorNode? from, ActorNode? to) {
  super.onParentChanged(from, to);
  from?.findLayerEffect();
  to?.findLayerEffect();
  findEffects();
}