Пример #1
0
 // Token: 0x060008C5 RID: 2245 RVA: 0x000387C1 File Offset: 0x00036BC1
 public override void TakeoverTouches(TouchableControl controlToUntouch)
 {
     if (controlToUntouch != null && this.touchId >= 0)
     {
         controlToUntouch.OnTouchEnd(this.touchId, true);
     }
 }
Пример #2
0
	// ---------------
	override public void TakeoverTouches(
		TouchableControl controlToUntouch
		)
		{
		if (controlToUntouch != null)
			{
			if (this.fingerA.touchId >= 0)
				controlToUntouch.OnTouchEnd(this.fingerA.touchId, true);
			if (this.fingerB.touchId >= 0)
				controlToUntouch.OnTouchEnd(this.fingerB.touchId, true);
			}
		}
 // ------------
 /// Make any shared touches exlusive to this control.
 // ------------
 public virtual void TakeoverTouches(TouchableControl controlToUntouch)
 {
 }
 // ------------
 /// Make any shared touches exlusive to this control.
 // ------------
 virtual public void TakeoverTouches(TouchableControl controlToUntouch)
 {
 }