Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

Modify a variable between namespaces

$
0
0
Hi everyone. My question is simple, and I suppose the answer is simple, but I haven't found out the solution yet. I'm using Unity 5.0.2 and doing some practices with the new first person controller. I would like to access other script's variables from this script, but as this controller is into a namespace, It does not find the other script, that has no namespace... If I try to access the controller from another script I just have to put the complete namespace and it works. **How could I access the variable of another script from the controller?** Thanks.

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>