using NodeCanvas.Framework;
using ParadoxNotion.Design;
using RaycastPro;
using RaycastPro.RaySensors;
using UnityEngine;


namespace NodeCanvas.Tasks.Actions{

	[Category("RaycastPro")]
	[Description("Simply change any core Detect Layer")]
	public class SetDetectLayer : ActionTask<RaycastCore>{
		
		public BBParameter<LayerMask> detectLayer;
		
		protected override void OnExecute()
		{
			agent.detectLayer = detectLayer.value;
		}
	}
}