Exemplo n.º 1
0
        public override async Task Initialize(IServices services)
        {
            await base.Initialize(services);

            IViewService viewService = services.Get <IViewService>();

            viewService.AddPage <AppearancePage>("Character/Appearance");
            viewService.AddPage <EquipmentPage>("Character/Equipment");
        }
Exemplo n.º 2
0
        public Task Initialize()
        {
            Services.Add <SkeletonService>();

            IViewService viewService = Services.Get <IViewService>();

            viewService.AddPage <PosePage>("Pose", "running");
            viewService.AddPage <PositionPage>("Positioning", "globe");

            return(Task.CompletedTask);
        }
Exemplo n.º 3
0
        public Task Initialize()
        {
            IViewService viewService = Services.Get <IViewService>();

            viewService.AddPage <BlankPage>("Blank Page", "user");

            return(Task.CompletedTask);
        }
Exemplo n.º 4
0
        public Task Initialize()
        {
            IViewService viewService = Services.Get <IViewService>();

            viewService.AddPage <AppearancePage>("Appearance", "user");

            return(Task.CompletedTask);
        }
Exemplo n.º 5
0
Arquivo: Module.cs Projeto: 92RED/CM3
        public override async Task Initialize(IServices services)
        {
            await base.Initialize(services);

            IViewService viewService = services.Get <IViewService>();

            viewService.AddPage <SimplePosePage>("Character/Simple Pose");
        }
Exemplo n.º 6
0
        public async Task Initialize()
        {
            Services.Get <ILocalizationService>().Add("Modules/Pose/Languages/");

            await Services.Add <SkeletonService>();

            await Services.Add <PoseService>();

            IViewService viewService = Services.Get <IViewService>();

            viewService.AddPage <PosePage>("Pose", "running", this.IsActorPoseSupported);
        }