public MyAIComponent() { Static = this; BotFactory = Activator.CreateInstance(MyPerGameSettings.BotFactoryType) as IMyBotFactory; Random = new MyRandom(); }