Data communication problems for multiple game characters in the scene

In my game, there are many game characters built and loaded in code. However, I found that the signal could not be transmitted across scenes. So far, I’ve only seen a way to do transit through global scripts. Is there a more suitable way to solve this problem?

Using a global signal script is a common and usually perfectly fine solution. It’s called a signal bus or event bus. Depending on what you are trying to do, using groups might work too. If you really need a solution that doesn’t require using a global script or groups, you should give a bit more information.

After a lot of research, I decided to go with the global signal. Maybe it’s a good choice, and now I’m already working on it.

1 Like