Quantcast
Channel: Answers by "TobiasP"
Viewing all articles
Browse latest Browse all 72

Answer by TobiasP

$
0
0
I would just make a script called GameData and put it on the camera. Then any script that needs it can access it: void Start() { playerName = Camera.main.getComponent().playerName; }

Viewing all articles
Browse latest Browse all 72

Latest Images

Trending Articles



Latest Images

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