public AddExplicitStoryGraphEdgeTool(int from, IRayHitIndex rayHitIndex, IToolService toolService, IStoryService storyService)
 {
     this.from         = from;
     this.rayHitIndex  = rayHitIndex;
     this.toolService  = toolService;
     this.storyService = storyService;
 }
示例#2
0
 public StoryBranchIntoTool(int from, IRayHitIndex rayHitIndex, IToolService toolService, IStoryService storyService, ICommonNodeFactory commonNodeFactory)
 {
     this.from              = from;
     this.rayHitIndex       = rayHitIndex;
     this.toolService       = toolService;
     this.storyService      = storyService;
     this.commonNodeFactory = commonNodeFactory;
 }
 public MinimapVrNavigationMode(IGlobalObjectService globalObjectService, IRenderService renderService, IInputService inputService,
                                IRayHitIndex rayHitIndex, IStoryService storyService, IVrHeadPositionService headPositionService)
 {
     this.globalObjectService = globalObjectService;
     this.renderService       = renderService;
     this.inputService        = inputService;
     this.rayHitIndex         = rayHitIndex;
     this.storyService        = storyService;
     this.headPositionService = headPositionService;
 }
示例#4
0
 public InputHandler(IEventRoutingService eventRoutingService, IToolService toolService,
                     INavigationService navigationService, Lazy <IDirtyHackService> dirtyHackServiceLazy, IRayHitIndex rayHitIndex, IViewService viewService)
 {
     this.toolService          = toolService;
     this.navigationService    = navigationService;
     this.dirtyHackServiceLazy = dirtyHackServiceLazy;
     this.rayHitIndex          = rayHitIndex;
     this.viewService          = viewService;
     inputLocks     = new HashSet <IInputLock>();
     locksToRelease = new List <IInputLock>();
     eventRoutingService.Subscribe <IInteractionEvent>(typeof(IInputHandler), nameof(OnEvent), OnEvent);
 }
        public VrInitializerService(IDiContainer di, Lazy <IRenderService> renderServiceLazy, INavigationService navigationService, IStoryService storyService,
                                    IGlobalObjectService globalObjectService, IUserQueryService userQueryService, IViewService viewService,
                                    IVrInputDispatcher vrInputDispatcher,
                                    IRayHitIndex rayHitIndex, Lazy <IGui> guiLazy)
        {
            this.di = di;
            this.renderServiceLazy   = renderServiceLazy;
            this.navigationService   = navigationService;
            this.storyService        = storyService;
            this.globalObjectService = globalObjectService;
            this.userQueryService    = userQueryService;
            this.vrInputDispatcher   = vrInputDispatcher;
            this.rayHitIndex         = rayHitIndex;
            this.viewService         = viewService;
            this.guiLazy             = guiLazy;

            IsInitialized = false;
            var vrSwitcher = globalObjectService.EventObject.GetComponent <VrSwitcher>();

            vrSwitcher.VrInitialized += Init;
        }