private void Awake() { instance = this; texts[0].text = StringResources.Get("continue_button"); texts[1].text = StringResources.Get("settings_button"); texts[2].text = StringResources.Get("save_button"); texts[3].text = StringResources.Get("load_button"); texts[4].text = StringResources.Get("exit_button"); Hide(); }
private void OnDestroy() { instance = null; }