Hello, I have been stuck on this for a while now and I'm trying to figure out how to structure my code to work with Android. Originally my code was written like this...
GetComponent("SpawnBoard").enabled = false;
And I am getting the error saying .enabled is not a member of UnityEngine.Component or the likes. Obviously this is because it is written dynamically which mobile Unity does not support so how do i get this to work?
How can I enable/disable scripts statically?