first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using NodeCanvas.Framework;
|
||||
using ParadoxNotion.Design;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
namespace NodeCanvas.Tasks.Actions
|
||||
{
|
||||
|
||||
[Category("✫ Utility")]
|
||||
public class DebugDrawLine : ActionTask
|
||||
{
|
||||
|
||||
public BBParameter<Vector3> from;
|
||||
public BBParameter<Vector3> to;
|
||||
public Color color = Color.white;
|
||||
public float timeToShow = 0.1f;
|
||||
|
||||
protected override void OnExecute() {
|
||||
Debug.DrawLine(from.value, to.value, color, timeToShow);
|
||||
EndAction(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user