public void ChangeToNext(GameObject cameraBase, bool fade = true) { int index = Random.Range(0, drones.Length); DroneControl drone = RayCastBase.GetCurrent() as DroneControl; if (drone) { index = drones.ToList().IndexOf(drone); } if (index >= 0 && drones.Length > 0) { if (fade) { drones[index].Action(cameraBase); } else { drones[index].ActionWithoutFade(cameraBase); } } }