Undrafted rookie Tyler Johnson has reached an agreement on a free agent contract with the Miami Heat, a league source told RealGM.

In an impressive Summer League display in which he exhibited his athleticism, defense and growing offensive game, Johnson averaged 12.3 points, 3.5 rebounds and two assists for Miami. The 6-foot-4 guard also shot 52 percent from the field on just over eight shots per game.

Johnson scored nearly 16 points a game as a senior at Fresno State last season, and he went unselected in the June NBA draft.

Johnson, 21, had significant overseas offers, too, deciding to go with the Heat’s deal with an opportunity to make the regular season roster.