/// <summary> /// 添加触摸处理 /// </summary> /// <param name="behaviour"></param> public void AddBehaviour(ITouchProtocol behaviour) { if (behaviour == null) { return; } _behaviours[behaviour.Target] = behaviour; }
/// <summary> /// 移除触摸处理 /// </summary> /// <param name="behaviour"></param> public void RemoveBehaviour(ITouchProtocol behaviour) { if (behaviour == null) { return; } _behaviours.Remove(behaviour.Target); }