public void SetCrossedOption() { int index = optionCrossed.value; switch (index) { case 0: PlayerPrefController.SetCrossedValue(3); break; case 1: PlayerPrefController.SetCrossedValue(4); break; case 2: PlayerPrefController.SetCrossedValue(5); break; } }