示例#1
0
文件: UserInput.cs 项目: e0123/Riddle
 /// <summary>
 /// 所有UI Input Event
 /// </summary>
 /// <param name="value">Value.</param>
 public void AddInputEvent_UIobject(UI_OBJ _obj, TouchPhase _phase)
 {
     if (uitouchinfo == null)
     {
         uitouchinfo = new UITouchInfo();
     }
     uitouchinfo.ui_obj = _obj;
     uitouchinfo.phase  = _phase;
 }
示例#2
0
文件: UserInput.cs 项目: e0123/Riddle
 // Update is called once per frame
 void LateUpdate()
 {
     now_3Dobj   = null;
     uitouchinfo = null;
 }