private void Awake()
 {
     this._isMove     = false;
     this._dicButtons = new Dictionary <CtrlPartnerSelect.ButtonIndex, UIButton>();
     using (IEnumerator enumerator = Enum.GetValues(typeof(CtrlPartnerSelect.ButtonIndex)).GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             CtrlPartnerSelect.ButtonIndex buttonIndex = (CtrlPartnerSelect.ButtonIndex)((int)enumerator.get_Current());
             this._dicButtons.Add(buttonIndex, base.get_transform().FindChild("Button_" + buttonIndex.ToString()).GetComponent <UIButton>());
             this._dicButtons.get_Item(buttonIndex).onClick = Util.CreateEventDelegateList(this, "press_Button", buttonIndex);
         }
     }
     this._dicShipParts = new Dictionary <CtrlPartnerSelect.ShipPartsIndex, UITexture>();
     using (IEnumerator enumerator2 = Enum.GetValues(typeof(CtrlPartnerSelect.ShipPartsIndex)).GetEnumerator())
     {
         while (enumerator2.MoveNext())
         {
             CtrlPartnerSelect.ShipPartsIndex shipPartsIndex = (CtrlPartnerSelect.ShipPartsIndex)((int)enumerator2.get_Current());
             this._dicShipParts.Add(shipPartsIndex, base.get_transform().FindChild("Ship_" + shipPartsIndex.ToString()).GetComponent <UITexture>());
         }
     }
     this._iStarterType  = CtrlStarterSelect.StarterType.Ex;
     this._nSelectedId   = 0;
     this._clsSwipeEvent = GameObject.Find("EventArea").GetComponent <UIDisplaySwipeEventRegion>();
     this._clsSwipeEvent.SetOnSwipeActionJudgeCallBack(new UIDisplaySwipeEventRegion.SwipeJudgeDelegate(this.OnSwipe));
     this._clsSwipeEvent.SetEventCatchCamera(StartupTaskManager.GetPSVitaMovie().GetComponent <Camera>());
     this._isDecide = false;
     this.panel.widgetsAreStatic = true;
 }
        public void press_Button(CtrlPartnerSelect.ButtonIndex iIndex)
        {
            if (this._isMove)
            {
                return;
            }
            switch (iIndex)
            {
            case CtrlPartnerSelect.ButtonIndex.L:
                this.PreparaNext(false);
                break;

            case CtrlPartnerSelect.ButtonIndex.R:
                this.PreparaNext(true);
                break;

            case CtrlPartnerSelect.ButtonIndex.Deside:
                this.OnDecidePartnerShip();
                break;
            }
        }