Example #1
0
        protected override void Initialize()
        {
            actions  = new ActionEvents <TouchState, IGestureInfo[]>();
            taskList = new TouchTaskList();
            infoList = new TouchInfoList(taskList);
            Input.simulateMouseWithTouches = false;

                        #if UNITY_STANDALONE || UNITY_EDITOR
            StartCoroutine(mouseEmulate());
                        #endif
        }
Example #2
0
		public TouchInfoList(TouchTaskList taskList)
		{
			this.infos = new Dictionary<int, TouchInfo>();
			this.taskList = taskList;
		}
Example #3
0
 public TouchInfoList(TouchTaskList taskList)
 {
     this.infos    = new Dictionary <int, TouchInfo>();
     this.taskList = taskList;
 }