void Awake() { this.buttons = GameObject.FindGameObjectsWithTag("InputButton"); this.eventSystem = eventSystemGameObject.GetComponent <EventSystem>(); if (!PlayerPrefs.HasKey(this.defaultInputSave)) { InputLoader.PlayerPrefsDelete(this.standardInputSave); InputLoader.PlayerPrefsSave(this.defaultInputSave); } else { InputLoader.PlayerPrefsLoad(this.standardInputSave); } }
void EndScan(GameObject button) { Button buttonScript = button.GetComponent <Button>(); buttonScript.interactable = true; eventSystem.SetSelectedGameObject(button); ButtonParam buttonParam = button.GetComponent <ButtonParam>(); buttonParam.UpdateButton(); TextManager.UpdateAllText(); this.eventSystemGameObject.SetActive(true); InputLoader.PlayerPrefsSave(this.standardInputSave); }