It's hard to answer without context, but my tentative answer would be:
Neither, the points are scored when the triggering action happens. So for instance, if you have an assistant that give you 1 point every time you use a building that has a pumpkin as a cost, you would get, receive and record that 1 point, each time you use one such building.
That's the case for most assistants.
Some cards (rarer) might get you points at the end of each game where they are used. These are scored at the end of each game. Refer to rule 26 to see when that happens.
I'm not sure I'm answering your question, but I hope this helps.
Thank you. I get it now. Makes sense.