Hello, so the problem i’m having is that i’ve made two scripts where one refers to the other with
firstscript = gameObject.GetComponent<class from the first script>();
And this works fine untill i call a public function from it like this:
firstscript.publicfunctionname();
monodev recognizes the public function a proceeds to suggest said function to me.
But when i enter unity i get the CS1061 error message saying that my class i referred to doesnt contain said function even though its set to public.
I’ve definetly done this before but i’m not sure why i’m not able to do it now. Any help would be appreciated thanks!