FairyGUI.InputTextField.__touchMove C# (CSharp) Method

__touchMove() private method

private __touchMove ( EventContext context ) : void
context EventContext
return void
        void __touchMove(EventContext context)
        {
            if (isDisposed)
                return;

            if (_selectionStart == null)
                return;

            Vector3 v = Stage.inst.touchPosition;
            v = this.GlobalToLocal(v);
            if (float.IsNaN(v.x))
                return;

            TextField.CharPosition cp = GetCharPosition(v);
            if (cp.caretIndex != _caretPosition)
                AdjustCaret(cp);
        }