Tim Hardaway Jr. didn’t take long to acclimate to life in the pros.

The rookie scored 10 of his 16 points in the fourth quarter, including the go-ahead basket with 8.2 seconds to play, to lead the New York Knicks to a 103-102 preseason victory over the Boston Celtics on Wednesday night.

‘‘It was great, everything you’ve asked for, you’ve dreamed of, and it’s coming to reality,’’ the son of the former NBA guard said following the Knicks’ preseason opener. ‘‘Just got to live in the moment and take advantage of your opportunities.’’

Iman Shumpert scored 18 points, Metta World Peace added 13 and Andrea Bargnani had 12 for the Knicks, who led by as many as 23 points with 8:13 to play in their preseason opener.

Reported by the Associated Press