Fix a Missing Reference

The ball calls the GameManager now, and that call only works if the Ball is holding on to it. You dragged the GameManager object into the Ball's Game Manager slot in the last node. If that drag never happened, Unity says nothing until the ball reaches a goal line. Then you get a red line of a kind you have not seen yet.

More in Keep Score

  1. Score a Point
    1. Fix a Missing Reference
  2. Show the Score on Screen
  3. Serve the Ball Again

All 54 topics in the Your First Unity Game