BITFALL/Assets/BITKit/UnityPluginsSupport/NodeCanvas/InvokeMonoAction.cs

19 lines
439 B
C#
Raw Normal View History

2023-06-08 14:09:50 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NodeCanvas.Tasks;
using NodeCanvas.Framework;
using BITKit.SubSystems;
using BITKit.SubSystems.Quest;
namespace BITKit
{
public class InvokeMonoAction : ActionTask
{
public BBParameter<MonoAction> action;
protected override void OnExecute()
{
2023-08-12 01:43:24 +08:00
action.value.Execute();
2023-06-08 14:09:50 +08:00
EndAction();
}
}
}