void Start() { _alarmKey = (AlarmCheackKeys)ES3.Load <int>("Alarm"); _unitKey = (UnitCheackKeys)ES3.Load <int>("Unit"); _languageKey = (LanguageKeys)ES3.Load <int>("Language"); SetAction(); SetLanguageAction(); }
public void UnitButtonAction(int btnTag) { //UnitCheackKeys 키값 == 태그값 if (btnTag == 0) { //kn _unitKey = UnitCheackKeys.Kn; _knBtn.interactable = false; _kmBtn.interactable = true; } else { //km _unitKey = UnitCheackKeys.Km; _knBtn.interactable = true; _kmBtn.interactable = false; } ES3.Save <int>("Unit", _unitKey); }