Tz2/Assets/GameAssets/UI/ERP_UI/Script/FormManager.cs

30 lines
609 B
C#

using DefaultNamespace.ProcessMode;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FormManager : MonoBehaviour
{
/// <summary>
/// 大步骤
/// </summary>
public int targetStepIndex;
/// <summary>
/// 小步骤
/// </summary>
public int currentStepIndex;
void Start()
{
}
[ContextMenu("JumpToProcessAsync")]
void AddJumpToProcessAsync()
{
Debug.Log("跳步");
MotionFramework.MotionEngine.GetModule<ProcessManager>().JumpToProcessAsync(targetStepIndex, currentStepIndex);
}
}