public override void OnLoad() { PrefabFactory prefabFactory = new PrefabFactory(world.EntityManager); gameOver = prefabFactory.CreateSpriteText("Game OVER!"); gameOver.AddComponent(new GameOverBehaviour()); }