private void AnimationEndAction(GameObject node, float scale) { if (scale == 0) { controller.Nodes.Pool.Despawn(node); } ActiveAnimations.Remove(node); }
private void AnimationEndAction(GameObject connection, AnimationDirection direction) { if (direction == AnimationDirection.IN) { controller.Connections.Pool.Despawn(connection); } ActiveAnimations.Remove(connection); }