コード例 #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;
        }