Exemple #1
0
        /// <summary>
        /// 初始化
        /// </summary>
        public override void Initialize()
        {
            base.Initialize();

            _pointInput         = new DynInputPoint(this.presenter, new LitMath.Vector2(0, 0));
            _pointInput.finish += this.OnPointInputReturn;
            _pointInput.cancel += this.OnPointInputReturn;

            this.GotoStep(Step.Step1_SpecifyBasePoint);
        }
Exemple #2
0
        /// <summary>
        /// 初始化
        /// </summary>
        public override void Initialize()
        {
            base.Initialize();

            //
            _step             = Step.Step1_SpecifyStartPoint;
            this.pointer.mode = UI.Pointer.Mode.Locate;

            _pointInput         = new DynInputPoint(this.presenter, new LitMath.Vector2(0, 0));
            _pointInput.Message = "指定第一个点: ";
            this.dynamicInputer.StartInput(_pointInput);
            _pointInput.finish += this.OnPointInputReturn;
            _pointInput.cancel += this.OnPointInputReturn;
        }