Quantcast
Viewing latest article 19
Browse Latest Browse All 72

Answer by TobiasP

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 latest article 19
Browse Latest Browse All 72

Trending Articles