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

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

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