using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; /// /// 起重机交互基类 /// public class CraneInterStepActionBase : MonoBehaviour,IStepNodeAction { //public bool active; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public void Active(ProcessEnum stepName, UnityAction nodeFinishedEvent) { //active = true; Debug.Log("发动机激活时,自动转为完成状态"); //nodeFinishedEvent.Invoke(); } public void UnActive(ProcessEnum stepName) { //active = false; } }