SAN FRANCISCO — Travis Ishikawa and Michael Morse were not Giants legends before Thursday, but they are now.

That’s what this team is: A bunch of guys just patiently waiting their turns to be legendary, on a nightly basis.

Then doing the legend thing, again and again and again … all the way to their third World Series in five years.

At the end of this National League Championship Series against St. Louis, the Giants’ final hero was Ishikawa, who started his career with the Giants, was released, and eventually came back this season as an unassuming role player and then suddenly was thrown into left field for the playoffs.

Now? He’s Bobby Thomson 2.0.

On Thursday, it was Ishikawa — a 31-year-old journeyman first baseman — who misplayed a fly ball in left field that led to the Cardinals’ first run off Giants starter Madison Bumgarner.

So of course it was Ishikawa who came up in a tie game in the bottom of the ninth with two runners on, then hit the home run that won this game, 6-3.

And he’s the one who had to fight through his teammates’ giddy tackles as he rounded the bases.

Just legendary.

“As soon as I hit it, I knew instantly the game was over because I knew it would be at least be off the wall,” Ishikawa said.

“As I was going across the (first-base) bag, I was thinking, ‘Man, if this goes out it’s going to be incredible.’

“And I just saw it sneak over. And after that I don’t remember. I don’t remember anything else after that.”

Time stopped. The moment froze. The Cardinals players drooped. That’s what happens when history happens in a lightning flash.

Then it all sped up again, and everything was noise at AT&T Park after hours of tension, worry, surprise, and now release.

Game over, series over, the pennant in their pocket and now the Giants take on the Royals in the World Series starting Tuesday in Kansas City.

Giants’ Travis Ishikawa(45) celebrates his walk-off home run in the bottom of the ninth inning to win Game 5 of the National League baseball