public override void Activate(VrSession session) { PathEditingHelper.EnsurePath(); //:TODO: Update if active tool changes CreateToolGraphics(); }
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; }