Referencing variables via external script?

I want to reference variables from script A into script B.

I’m using GetComponent and everything works fine.

The only issue I’m running into is that I have about 100+ variables in script A, and I don’t want to declare each and every one of them as ‘public’ so that they can be used in script B.

Is there a way so that script B can be allowed access to all variables from script A including non public members?

maybe using properties can help somehow. watch this video:
http://unity3d.com/learn/tutorials/modules/intermediate/scripting/properties