Пример #1
0
        /// <summary>
        /// 超绝状态
        /// </summary>
        private void Marvelous()
        {
            Marvel_UI.SetActive(true);
            Marvel marvel = Marvel_UI.GetComponentInChildren <Marvel>();

            marvel.CurrentTime  = marvel.WholeTime;
            marvel.BufferNum    = 2;
            player.EnergyAbsorb = 2;
        }
Пример #2
0
 /// <summary>
 /// 超绝状态
 /// </summary>
 private void Marvelous()
 {
     if (Marvel_UI.activeSelf == true)
     {
         Marvel marvel = Marvel_UI.GetComponentInChildren <Marvel>();
         marvel.LevelUp();
     }
     Marvel_UI.SetActive(true);
 }