public override void Initialize() { var factory = GameServiceManager.GetService <IGameObjectFactory>(); if (factory != null) { factory.OnGameObjectCreated += OnGameObjectCreatedHandler; } }
public override void Initialize() { this.InputHandler = (IInputHandler)GameServiceManager.GetService(typeof(IInputHandler)); }