Ejemplo n.º 1
0
 private void EditExistingItem(Rect itemRect, int index)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     FlexibleMenu.\u003CEditExistingItem\u003Ec__AnonStorey78 itemCAnonStorey78 = new FlexibleMenu.\u003CEditExistingItem\u003Ec__AnonStorey78();
     // ISSUE: reference to a compiler-generated field
     itemCAnonStorey78.index = index;
     // ISSUE: reference to a compiler-generated field
     itemCAnonStorey78.\u003C\u003Ef__this = this;
     if (this.m_ModifyItemUI == null)
     {
         return;
     }
     itemRect.y -= itemRect.height;
     itemRect.x += itemRect.width;
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated method
     this.m_ModifyItemUI.Init(FlexibleMenuModifyItemUI.MenuType.Edit, this.m_ItemProvider.GetItem(itemCAnonStorey78.index), new System.Action <object>(itemCAnonStorey78.\u003C\u003Em__114));
     PopupWindow.Show(itemRect, (PopupWindowContent)this.m_ModifyItemUI);
 }
Ejemplo n.º 2
0
 private void EditExistingItem(Rect itemRect, int index)
 {
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   FlexibleMenu.\u003CEditExistingItem\u003Ec__AnonStorey78 itemCAnonStorey78 = new FlexibleMenu.\u003CEditExistingItem\u003Ec__AnonStorey78();
   // ISSUE: reference to a compiler-generated field
   itemCAnonStorey78.index = index;
   // ISSUE: reference to a compiler-generated field
   itemCAnonStorey78.\u003C\u003Ef__this = this;
   if (this.m_ModifyItemUI == null)
     return;
   itemRect.y -= itemRect.height;
   itemRect.x += itemRect.width;
   // ISSUE: reference to a compiler-generated field
   // ISSUE: reference to a compiler-generated method
   this.m_ModifyItemUI.Init(FlexibleMenuModifyItemUI.MenuType.Edit, this.m_ItemProvider.GetItem(itemCAnonStorey78.index), new System.Action<object>(itemCAnonStorey78.\u003C\u003Em__114));
   PopupWindow.Show(itemRect, (PopupWindowContent) this.m_ModifyItemUI);
 }