// Scan surroundings if (Time.time > nextScanTime) { nextScanTime = Time.time + scanInterval; ScanSurroundings(); } }
// Guard behavior settings public float scanInterval = 5.0f; public float investigationRange = 5.0f; park after dark v025a by sid gaming fix
That being said, here's a potential feature idea: // Scan surroundings if (Time