83 lines
3.3 KiB
C#
83 lines
3.3 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Framework.Manager;
|
|
using UnityEngine;
|
|
|
|
public class tttttt : MonoBehaviour
|
|
{
|
|
IEnumerator Start()
|
|
{
|
|
yield return new WaitForSeconds(2);
|
|
//
|
|
// Debug.Log(JsonConvert.SerializeObject(new CustodyInbound()));
|
|
//
|
|
// // 订阅当前动作完成事件
|
|
// MotionEngine.GetModule<ProcessManager>().OnCurrentActionCompleteEvent += (e) => {
|
|
// Debug.Log("当前动作已完成!");
|
|
// };
|
|
//
|
|
// // 订阅当前步骤所有动作完成事件
|
|
// MotionEngine.GetModule<ProcessManager>().OnStepActionsCompleteEvent += (e) => {
|
|
// Debug.Log("当前步骤的所有动作已完成!");
|
|
// };
|
|
// MotionEngine.GetModule<ProcessManager>().JumpToProcessAsync(1, 0);
|
|
// MotionEngine.GetModule<ProcessManager>().HandleClick("任务书");
|
|
// MotionEngine.GetModule<ProcessManager>().HandleClick("对话结束");
|
|
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick(new List<string>({""})));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("任务书"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick(new List<string>()
|
|
// {
|
|
// "陈二","赵六1","HDA1"
|
|
// }));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick(new List<string>()
|
|
// {
|
|
// "陈二","赵六","HDA1"
|
|
// }));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick(new List<string>()
|
|
// {
|
|
// "2222","3333"
|
|
// }));
|
|
//
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("pp1p"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("pp2p"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("pp3p"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("ppp"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("3"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("ppp"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("3"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("33"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("2"));
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().CalculateTotalScore());
|
|
// Debug.Log(MotionEngine.GetModule<ProcessManager>().HandleClick("11"));
|
|
//
|
|
|
|
// GuideMask.Instance.CreateRectangleMask(aa);
|
|
// // 2. 开始引导流程
|
|
// TutorialGuideManager.Instance.InitializeGuideObjects();
|
|
//
|
|
// // TutorialGuideManager.Instance.StartGuide();
|
|
// TutorialGuideManager.Instance.StartGuide();
|
|
// yield return new WaitForSeconds(5);
|
|
//
|
|
// TutorialGuideManager.Instance.HideGuide();
|
|
|
|
// yield return new WaitForSeconds(2);
|
|
// TutorialGuideManager.Instance.HideGuide();
|
|
|
|
//
|
|
// TutorialGuideManager.Instance.TriggerNextGuide();
|
|
// yield return new WaitForSeconds(2);
|
|
// TutorialGuideManager.Instance.TriggerNextGuide();
|
|
}
|
|
|
|
|
|
public void NExt()
|
|
{
|
|
|
|
TutorialGuideManager.Instance.TriggerNextGuide();
|
|
|
|
}
|
|
|
|
}
|