C#C
C#17mo ago
Poseidon

Passing one int from one script to another

So this isa stupid Question but im using unity for a game and i want to pass one int from a script that counts how many items were collected and i want to use it in another Script as a score. I tried a lot but nothing works. I tried FindObjectOfType and it gives me an error
image.png
image.png
image.png
Was this page helpful?