// ------------------ 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); }
// ------------------- 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); }
// ------------------ 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); }
// -------------- override public bool OnTouchEnd(TouchObject touch, TouchEndType touchEndType) { return(false); }
abstract public bool OnTouchEnd(TouchObject touch, TouchEndType touchEndType);