// Start is called before the first frame update public override void Init(AIAgent agent) { base.Init(agent); _nodes = _path.GetNodes(); _current = 0; _target = _nodes[_current]; }