first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using NodeCanvas.Framework;
|
||||
using ParadoxNotion.Design;
|
||||
|
||||
|
||||
namespace NodeCanvas.Tasks.Actions
|
||||
{
|
||||
|
||||
[Category("✫ Blackboard")]
|
||||
[Description("Stores the agent gameobject on the blackboard.")]
|
||||
public class GetSelf : ActionTask
|
||||
{
|
||||
|
||||
[BlackboardOnly]
|
||||
public BBParameter<UnityEngine.GameObject> saveAs;
|
||||
|
||||
protected override void OnExecute() {
|
||||
saveAs.value = agent?.gameObject;
|
||||
EndAction(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user