Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Using Echo in separate class

$
0
0
Hello,

I have the Main method and I want to call another class. Inside the separate class (being a full script with it's own methods and class variables), I want to use Echo to display an output to the console.

I'm getting an error that 'Echo' isn't referenced / available in the separate class (called from main). I'm referencing the separate class as ??? xclass = new ???();

Is there a way to use Echo in another class and if so, how do I do it?

Thanks

Viewing all articles
Browse latest Browse all 645

Trending Articles