Exemplo n.º 1
0
 public void OpenCoreMenu()
 {
     if (!CoreOpen)
     {
         coreObj.alpha = 1;
         MatchTimeManager.FirstOpen();
         SelectThis(player_Group);
         coreObj.interactable   = true;
         coreObj.blocksRaycasts = true;
         CoreOpen = true;
     }
     else
     {
         coreObj.alpha = 0;
         MatchTimeManager.TotalTimeShow = false;
         coreObj.interactable           = false;
         coreObj.blocksRaycasts         = false;
         CoreOpen = false;
         if (selectSort != null)
         {
             selectSort.Color_select(false);
             selectSort = null;
         }
         myState = UpdateManager.Myability.None;
     }
 }
Exemplo n.º 2
0
 public void GetMySelect(CoreSort _sort)
 {
     if (selectSort != null)
     {
         selectSort.Color_select(false);
     }
     selectSort = _sort;
     selectSort.Color_select(true);
     myState = _sort.abilityData;
 }
Exemplo n.º 3
0
 void GoWaitToUpdate()
 {
     Debug.Log("可使用目前數量" + update_canUse.Count);
     if (update_canUse.Count != 0)
     {
         update_canUse[0].SetData(selectSort);
         selectSort.nowUpdate = true;
         update_canUse[0].transform.SetParent(updateArrayPos);
         update_canUse.RemoveAt(0);
         selectSort.Color_select(false);
         selectSort = null;
         myState    = UpdateManager.Myability.None;
     }
     else
     {
         hintManager.CreatHint("沒有更多的空間升級");
     }
 }