Пример #1
0
        public override void Activate(VrSession session)
        {
            PathEditingHelper.EnsurePath();

            //:TODO: Update if active tool changes
            CreateToolGraphics();
        }
Пример #2
0
        public override void Activate(VrSession session)
        {
            base.Activate(session);

            PathEditingHelper.EnsurePath();

            _controller = session.RightController;
            AddGfx();
            //Click += HandleClick;
            AlternateClick += HandleAlternateClick;
            DeltaDrag      += HandleDeltaDrag;
            BeginDrag      += HandleBeginDrag;
            EndDrag        += HandleDeltaDrag;
            HoverObject    += HandleHover;
        }