Files
BITKit/Unity/Extensions/NodeCanvas/InvokeMonoAction.cs
CortexCore 4565ff2e35 1
2023-06-05 16:25:06 +08:00

19 lines
438 B
C#

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()
{
action.value.Excute();
EndAction();
}
}
}