1
This commit is contained in:
19
Packages/Common~/Extensions/NodeCanvas/InvokeMonoAction.cs
Normal file
19
Packages/Common~/Extensions/NodeCanvas/InvokeMonoAction.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user