Hi everyone,
I have few scripts, each one with few public variables, some need to communicate between them. In my project I take input from arduino and make a game from it.
scripts are:
_inputManeger - input collected and processed. The info displayed as text.
_playerManager - some 2d images are changing according to the input. I also put here a time and start/finish game button
_pointsManager - according to how well the player did, receiving point, virtual awards collected
** My...
How to communicate between few scripts?
I have few scripts, each one with few public variables, some need to communicate between them. In my project I take input from arduino and make a game from it.
scripts are:
_inputManeger - input collected and processed. The info displayed as text.
_playerManager - some 2d images are changing according to the input. I also put here a time and start/finish game button
_pointsManager - according to how well the player did, receiving point, virtual awards collected
** My...
How to communicate between few scripts?