示例#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");
        }
示例#2
0
文件: Module.cs 项目: Bluefissure/CM3
        public Task Initialize()
        {
            Services.Add <SkeletonService>();

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

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

            return(Task.CompletedTask);
        }
示例#3
0
文件: Module.cs 项目: damphands/CM3
        public Task Initialize()
        {
            IViewService viewService = Services.Get <IViewService>();

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

            return(Task.CompletedTask);
        }
示例#4
0
文件: Module.cs 项目: Bluefissure/CM3
        public Task Initialize()
        {
            IViewService viewService = Services.Get <IViewService>();

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

            return(Task.CompletedTask);
        }
示例#5
0
文件: Module.cs 项目: 92RED/CM3
        public override async Task Initialize(IServices services)
        {
            await base.Initialize(services);

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

            viewService.AddPage <SimplePosePage>("Character/Simple Pose");
        }
示例#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);
        }