Hi, I have some problems. I've switched the platform target to Android, and a lot of errors came out. I noticed that most of them are of this type:
BCE0019: 'OnCollisionEnter' is not a member of 'UnityEngine.Component'
It is not for the function 'OnCollisionEnter', because a lot of other "members" (such as variables) are not recognized. Where i use the name for getting component it is needed, and calling something on that component of type "Component" is impossible. Even specify the type before use it isn't usefull, because the type specified doesn't exist (he says).
I've a script where the name of the script to access is a variable, so it can be only a string, i really have to create n scripts for n variables?!?
↧