- Home /
Script never seems to get the reference passed as param.
I'm not sure if this is because I'm tired or what, but I can't recall ever having this problem before. Pretty much I have an Item class. I fill it with the data I want. Then i send the Item to another Method on another class. (Which does work).
However, I have an Item variable in the said class I sent it do. What I want to do is store the sent item into this variable, but it's not working. No idea why, I've been doing this stuff for years. So perhaps it's just that I'm tired maybe?
The issue is only with the first line in the AddItem(Item i) method. Everything else works.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How do I make a list of references to a variable? 2 Answers
Animation won't play.. Issue with deltaTime..I think? 0 Answers
Enabling MeshRenderers not working 0 Answers