Beispiel #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");
        }
Beispiel #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);
        }
Beispiel #3
0
        public Task Initialize()
        {
            IViewService viewService = Services.Get <IViewService>();

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

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

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

            return(Task.CompletedTask);
        }
Beispiel #5
0
        public override async Task Initialize(IServices services)
        {
            await base.Initialize(services);

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

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