public void StartScan(Vector3 src) { _scannables = AIAgentManager.getActiveAgents().ToArray(); RegisteredUIDs.Clear(); _scanning = true; ScanDistance = 0; ScannerOrigin.position = src; speed = OnePlayerSpeed; }
void Start() { RegisteredUIDs = new List <int>(); _scannables = AIAgentManager.getActiveAgents().ToArray(); }