private void InitList() { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type PauseRegistrationList.\u003CInitList\u003Ec__AnonStorey0 listCAnonStorey0 = new PauseRegistrationList.\u003CInitList\u003Ec__AnonStorey0(); // ISSUE: reference to a compiler-generated field listCAnonStorey0.\u0024this = this; for (int index = 0; index < this.transformRoot.get_childCount(); ++index) { Object.Destroy((Object)((Component)this.transformRoot.GetChild(index)).get_gameObject()); } this.transformRoot.DetachChildren(); this.select = -1; ((Selectable)this.buttonLoad).set_interactable(false); ((Selectable)this.buttonDelete).set_interactable(false); // ISSUE: reference to a compiler-generated field listCAnonStorey0.sex = this.m_OCIChar.oiCharInfo.sex; // ISSUE: reference to a compiler-generated method this.listPath = ((IEnumerable <string>)System.IO.Directory.GetFiles(UserData.Create("studio/pose"), "*.dat")).Where <string>(new Func <string, bool>(listCAnonStorey0.\u003C\u003Em__0)).ToList <string>(); this.dicNode.Clear(); for (int key = 0; key < this.listPath.Count; ++key) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type PauseRegistrationList.\u003CInitList\u003Ec__AnonStorey1 listCAnonStorey1 = new PauseRegistrationList.\u003CInitList\u003Ec__AnonStorey1(); // ISSUE: reference to a compiler-generated field listCAnonStorey1.\u003C\u003Ef__ref\u00240 = listCAnonStorey0; GameObject gameObject = (GameObject)Object.Instantiate <GameObject>((M0)this.prefabNode); gameObject.get_transform().SetParent(this.transformRoot, false); StudioNode component = (StudioNode)gameObject.GetComponent <StudioNode>(); component.active = true; // ISSUE: reference to a compiler-generated field listCAnonStorey1.no = key; // ISSUE: method pointer component.addOnClick = new UnityAction((object)listCAnonStorey1, __methodptr(\u003C\u003Em__0)); component.text = PauseCtrl.LoadName(this.listPath[key]); this.dicNode.Add(key, component); } }
private void OnClickLoad() { PauseCtrl.Load(this.ociChar, this.listPath[this.select]); }
private void OnClickSave() { PauseCtrl.Save(this.ociChar, this.inputName.get_text()); this.InitList(); }