using System.Collections; using System.Collections.Generic; using UnityEngine; using NodeCanvas.Tasks; using NodeCanvas.Framework; using BITKit.SubSystems; using BITKit.SubSystems.Quest; using NodeCanvas.BehaviourTrees; namespace BITKit { public class Interval : ConditionTask { public BBParameter interval; private readonly IntervalUpdate intervalUpdate = new(); protected override bool OnCheck() { intervalUpdate.Interval = interval.value; return intervalUpdate.AllowUpdate; } } }