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