I have a script that simply declares some variables, outside of functions-- just meant to be member variables. ScriptA, let's call it.
I attach it to an object.
In that same object, in a different script (ScriptB? Sure, why not?), I get ScriptA component, but when I try to get a variable or call a method, MonoDevelop refuses to acknowledge it in autocomplete. However, if I test the game, I can see that the variables and methods are being called.
I tried resyncing MonoDevelop, but I'm still not getting any autocomplete... it just forces me to really focus on typos, when I'd rather be focusing on writing code. Plus, I gotta keep jumping to the other script to remind myself of these members.
My code looks something like this:
ScriptA (attached to someObject ):
ScriptB (also attached to someObject):
Like I said, I can still call the members and see the results in console or in game... but I MonoDevelop doesn't show me any of them as I code. Do I need to include the other scripts or something?