
Originally Posted by
Blade[UG]
make an Info class, and keep track of it in your GameInfo
Okay, this is something I'm having issues with, and I think OP and I are asking the same question (as in a post I recently made).
So I make an Info. How do I instantiate that within my GameInfo subclass so that some controllers can grab a reference to it?
Is there some global location (per map? per game instance) where all classes are instantiated and registered?
Or is it as simple as
Code:
class MyGameInfo extends GameInfo;
var CustomClass myClass;
event BeginPlay()
{
myClass = new CustomClass();
}
?
Bookmarks