Let’s say I add a GameObject to a hashtable in JS.
When my build target is set to iOS, Unity begins throwing “____ is not a member of ‘Object’” script errors whenever I try to directly alter a parameter of this GameObject in the hashtable. To work around this, I have to pull the gameobject to a new var out of the hashtable, alter the parameter, and reinsert it.
Is this the correct procedure, or is there a way to let Unity know that the hashtable element in question is indeed a gameobject and that I should be allowed to alter it’s parameters?