FairyGUI.LongPressGesture.__touchBegin C# (CSharp) Method

__touchBegin() private method

private __touchBegin ( EventContext context ) : void
context EventContext
return void
        void __touchBegin(EventContext context)
        {
            InputEvent evt = context.inputEvent;
            _startPoint = _host.GlobalToLocal(new Vector2(evt.x, evt.y));
            _started = false;

            Timers.inst.Add(trigger, 1, __timer);
            context.CaptureTouch();
        }