private void Update()
 {
     if (startBattle)
     {
         curAttackTimer += Time.deltaTime;
         if (curAttackTimer >= curAttackTime)
         {
             //攻击
             parentPanel.Attack(this);
             curAttackTimer            = 0;
             img_processBar.fillAmount = 0;
         }
         img_processBar.fillAmount = curAttackTimer / curAttackTime;
     }
 }