|
When I hover over the itemName of this code: "inventory[i].itemName", it says "Unresolved member 'itemName'" in the tooltip. The biggest issue is that when I press period after [i], AutoComplete/IntelliSense still shows the old variables I originally made my InventoryItem class with (before itemName was there). It won't update to show itemName/itemObject/itemTex. But the full code does compile and work.
(comments are locked)
|

Quit & restart? Might work, sounds like a cache issue.
Restarting doesn't work. I'll try restarting my entire computer.
Restarting didn't help. I deleted "Application DataMonoDevelop-UnityCodeCompletionData" and it generated some new ones when pressing period inside Mono, but it still generated the wrong variables. Those variables don't even exist anywhere in any script.
Solution - Use Visual Studio. The sln can be opened directly, and the IntelliSense detects everything. Seems to be some bug with with Monodevelop.