Question by
EpicCrownKing · Jan 16, 2019 at 03:17 AM ·
inventorynamespacetypepublic
public Inventory not recognized
When I type in public Inventory inventory; it says that the type or namespace could not be found. I found this in a BlackThornProd tutorial, is this outdated?
Comment
Answer by cdr9042 · Jan 16, 2019 at 04:15 AM
the class Inventory hasn't been defined or your current namespace doesn't include that class. Try searching for that class in your project, or create it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612185838im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Reference Script In Other Script "type or namespace nae 'myScript' cannot..." 0 Answers
Type or namespace of certain packages could not be found after unity testing framework was set up 0 Answers
the type or namespace name 'Rigibody2D' could not be found 0 Answers
Access public bool with Type.GetType 0 Answers
Inventory problem 0 Answers