xna 4.0 - Pass variables to another class? -


how pass variable class? these 2 classes not main. variable want use in class1 test int 5 class2.

you can make them public(or, eben better, use set) , habe access them. public int name;


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -