Whats the best way to reference variables from another class in a project, I know how to do it to objects but not variables.

Thanks