30 lines
679 B
C#
30 lines
679 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DefaultNamespace.ProcessMode;
|
|
using Framework.Manager;
|
|
using MotionFramework;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class PanelTaskPromptComponent : MonoBehaviour
|
|
{
|
|
private Button _button;
|
|
private void Awake()
|
|
{
|
|
_button=this.GetComponent<Button>();
|
|
}
|
|
|
|
private void Start()
|
|
{
|
|
_button.onClick.AddListener(delegate
|
|
{
|
|
if (MotionEngine.GetModule<ProcessManager>()._currentMode == ProcessMode.教学模式)
|
|
{
|
|
TutorialGuideManager.Instance.TriggerNextGuide();
|
|
}
|
|
|
|
});
|
|
}
|
|
}
|