Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

How to communicate between few scripts?

$
0
0
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?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>