public void Setup(EnemyConfig config, float speedMultiplier = 1f) { IsSpawning = true; PathFinder = new PathFinder(CachedTransform, CubeTracker, config.halfBodyDiagonal); PickMovementStrategy(config, speedMultiplier); ConfigureCameraShake(config, _movementStrategy); CubeTracker.UpdateTrackedAreaSize(_movementStrategy.GetMaxStepDistance()); SetupBody(config); HalfEdgeSize = config.edgeSize / 2f; Type = config.type; _isSetup = true; StartCoroutine(CheckPathAndStartMovingRoutine()); }