예제 #1
0
 public void Unload()
 {
     Instance              = null;
     multiWandWheel        = null;
     autoHammerWheel       = null;
     paintWheel            = null;
     fillWandSelection     = null;
     mirrorWandSelection   = null;
     shapesDrawerSelection = null;
     rectangleShape        = null;
     ellipseShape          = null;
     bezierCurve           = null;
 }
예제 #2
0
        public override void OnInitialize()
        {
            Instance = this;

            multiWandWheel = new MultiWandWheel();
            Instance.Append(multiWandWheel);
            multiWandWheel.Hide();

            autoHammerWheel = new AutoHammerWheel();
            Instance.Append(autoHammerWheel);
            autoHammerWheel.Hide();

            paintWheel = new PaintWheel();
            Instance.Append(paintWheel);
            paintWheel.Hide();

            fillWandSelection = new FillWandSelection();
            Instance.Append(fillWandSelection);
            fillWandSelection.Hide();

            mirrorWandSelection = new MirrorWandSelection();
            Instance.Append(mirrorWandSelection);
            mirrorWandSelection.Show();

            shapesDrawerSelection = new ShapesDrawerSelection();
            Instance.Append(shapesDrawerSelection);
            shapesDrawerSelection.Show();

            rectangleShape = new RectangleShape();
            Instance.Append(rectangleShape);
            rectangleShape.Show();

            ellipseShape = new EllipseShape();
            Instance.Append(ellipseShape);
            ellipseShape.Show();

            bezierCurve = new BezierCurve();
            Instance.Append(bezierCurve);
            bezierCurve.Show();
        }