Example #1
0
        public override void Run(Entity domain)
        {
            UI ui = UILoadingFactory.Create(domain);

            Game.Scene.GetComponent <UIComponent>().Add(ui);
        }
Example #2
0
        public override void Run(EventType.LoadingBegin args)
        {
            UI ui = UILoadingFactory.Create(args.Scene);

            Game.Scene.GetComponent <UIComponent>().Add(ui);
        }