using NodeCanvas.Framework; using ParadoxNotion.Design; using UnityEngine; namespace NodeCanvas.Tasks.Actions { [Category("✫ Blackboard")] public class SampleCurve : ActionTask { [RequiredField] public BBParameter curve; [SliderField(0, 1)] public BBParameter sampleAt; [BlackboardOnly] public BBParameter saveAs; protected override void OnExecute() { saveAs.value = curve.value.Evaluate(sampleAt.value); EndAction(); } } }