void Detected(GameObject enemy) { isOccupied = true; shouldRotate = true; target = enemy; battle?.OnDetect(target); }
void Detected(GameObject[] targets) { IsOccupied = true; battle?.OnDetect(targets); }