A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Check this out, it has simple and better solution about accessing variables from other class --- http://aarlangdi.blogspot.com.au