public void ChangeView() { if (viewMenu.value == 0) { camControl.ChangeView(0); } else if (viewMenu.value == 1) { camControl.ChangeView(1); } else { camControl.ChangeView(planetPositions[viewMenu.value - 2]); } }
public void ChangeView() { if (viewMenu.value == 0) { camControl.ChangeView(0); } else if (viewMenu.value == 1) { camControl.ChangeView(1); } else { camControl.ChangeView(planetPositions[viewMenu.value - 2]); } }