Example #1
0
        // ------------------
        override public bool OnTouchEnd(TouchObject touchObj, TouchEndType touchEndType)
        {
            if ((this.touchObj == null) || (this.touchObj != touchObj))
            {
                return(false);
            }

            this.touchObj = null;

            this.touchState.OnTouchEnd(touchEndType != TouchEndType.Release);

            return(true);
        }
Example #2
0
        // -------------------
        override public bool OnTouchEnd(TouchObject touch, TouchEndType touchEndType)
        {
            if ((touch != this.touchObj) || (this.touchObj == null))
            {
                return(false);
            }

            this.touchObj = null;
            this.touchStateWorld.OnTouchEnd(touchEndType != TouchEndType.Release);     //cancel);
            this.touchStateScreen.OnTouchEnd(touchEndType != TouchEndType.Release);    //cancel);
            this.touchStateOriented.OnTouchEnd(touchEndType != TouchEndType.Release);  //cancel);

            return(true);
        }
Example #3
0
        // ------------------
        override public bool OnTouchEnd(TouchObject touchObj, TouchEndType touchEndType)
        {
            if ((this.touchObj == null) || (this.touchObj != touchObj))
            {
                return(false);
            }

//Debug.LogFormat("----------------Track pad END!!!! : {0} : active:{1}", Time.frameCount, this.IsActive());

            this.touchObj = null;

            this.touchState.OnTouchEnd(touchEndType != TouchEndType.Release);

            return(true);
        }
Example #4
0
 // --------------
 override public bool OnTouchEnd(TouchObject touch, TouchEndType touchEndType)
 {
     return(false);
 }
Example #5
0
 abstract public bool OnTouchEnd(TouchObject touch, TouchEndType touchEndType);