Пример #1
0
 void BackMachine_OnClick()
 {
     if (GameConnet.m_uiKeepMID != 0)
     {
         IceAgeManager.BuyInGame(GameConnet.m_uiKeepMID);
     }
 }
 public void OnClick()
 {
     Debug.Log("OnClick : " + ID);
     if ((GameConnet.m_PMachinesData[NowMachineID].m_enumState == ENUM_PMACHINE_STATE.Idle || MachineStatus == MachineType.MyKeep) && IceAgeManager.m_MachineInfo.m_uiMID == NowMachineID)
     {
         IceAgeManager.BuyInGame(NowMachineID);
         //幫她BuyIn
     }
     else if (MachineStatus == MachineType.Idle)
     {
         MachineStatus = MachineType.OnChoose;
         GameConnet.m_oGameClient.Send(ENUM_GAME_FRAME.IceAge, (uint)ENUM_ICEAGE_PACKID_GC.C2G_Machine_GetMachineInfo, GameConnet.m_oGameClient.DoSerialize <uint>(NowMachineID));
     }
     else
     {
         GameConnet.m_oGameClient.Send(ENUM_GAME_FRAME.IceAge, (uint)ENUM_ICEAGE_PACKID_GC.C2G_Machine_GetMachineInfo, GameConnet.m_oGameClient.DoSerialize <uint>(NowMachineID));
     }
 }
Пример #3
0
 void Back_OnClick()
 {
     IceAgeManager.ChangeMachinePage(2);
 }
Пример #4
0
 void Next_OnClick()
 {
     IceAgeManager.ChangeMachinePage(1);
 }