using NodeCanvas.Framework; using ParadoxNotion.Design; using UnityEngine; namespace NodeCanvas.Tasks.Conditions { [Category("GameObject")] public class IsWithinLayerMask : ConditionTask { public BBParameter targetLayers; protected override bool OnCheck() { return ParadoxNotion.ObjectUtils.IsInLayerMask(agent.gameObject, targetLayers.value); } } }