public override void Enable() { if (enabled) { return; } checkBoxes.Show(); input.MouseDown += OnMouseDown; enabled = true; }
public override void Enable() { if (enabled) { return; } checkBoxes.Show(); input.MouseDown += OnMouseDown; input.MouseMove += OnMouseMove; Level.Update += OnUpdate; ui.HoverBegin += UIHoverBegin; enabled = true; }
public override void Enable() { if (enabled) { return; } checkBoxes.Show(); manipulator?.OnEnabled(); input.MouseDown += OnMouseDown; input.MouseMove += OnMouseMoved; input.MouseUp += OnMouseUp; camera.CameraMoved += OnCameraMove; enabled = true; }
public override void Enable() { if (enabled) { return; } checkBoxes.Show(); uiElem.Visible = true; highlight.Enable(); input.MouseDown += OnMouseDown; input.MouseUp += OnMouseUp; sizeSlider.SliderChanged += OnSliderChanged; highlight.SquareChanged += Highlight_SquareChanged; ui.RegisterForHover(sizeSlider); enabled = true; }
public override void Enable() { if (enabled) { return; } checkBoxes.Show(); uiElem.Visible = true; input.MouseWheelMoved += OnMouseWheelMoved; input.MouseUp += OnMouseUp; input.MouseDown += OnMouseDown; input.MouseMove += OnMouseMove; Level.Update += OnUpdate; ui.HoverBegin += UIHoverBegin; ui.HoverEnd += UIHoverEnd; enabled = true; }