It is better to connect in module or in local script

haha, hey a real question, you know the actual question in the topic was what was better, to connect some parameters to the module each time an InputBegan event is triggered or was it better to have the module detect the input began events? if you don’t answer no problem.

It really depends. I often have the modules detect this stuff, but only when it can completely contain it by itself. Otherwise I’ll pass in parameters.

I think this is something that depends entirely on how your game scripts are organized and communicate with each other.

but if we are talking about a FPS game, i.e. it needs to be optimized, and I need the configuration of the weapon to be optimized, which method do you recommend?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.