public override void _Ready() { if (WayPointsPath == null) { return; } foreach (var wayPint in GetNode(WayPointsPath).GetChildren()) { _WayPoints.Add((WayPoint)wayPint); } _CurrentWayPoint = _WayPoints.First(); _detector = GetNode <DetectorRadial>(PathToDetector); }
public override void _Ready() { _detector = GetNode <DetectorRadial>(PathToDetector); }