38 lines
904 B
C#
38 lines
904 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Device_Mobile : MonoBehaviour
|
|
{
|
|
public int downIndex = 0;
|
|
|
|
private void OnMouseDown()
|
|
{
|
|
switch (downIndex)
|
|
{
|
|
case 0:
|
|
if (GameManager.ProcessMgr.CheckSubProcessSteps("查看任务单"))
|
|
downIndex++;
|
|
break;
|
|
case 1:
|
|
if (GameManager.ProcessMgr.CheckSubProcessSteps("工作预约"))
|
|
downIndex++;
|
|
break;
|
|
case 2:
|
|
if (GameManager.ProcessMgr.CheckSubProcessSteps("选择正确工作票"))
|
|
downIndex++;
|
|
break;
|
|
case 3:
|
|
GameManager.ProcessMgr.CheckSubProcessSteps("1212");
|
|
downIndex = 0;
|
|
break;
|
|
}
|
|
|
|
}
|
|
|
|
private void OnMouseExit()
|
|
{
|
|
|
|
}
|
|
}
|