cd代码段
void Skills_CD() { if(pData.mp>=P_EPZ) { Skill_panel.SetActiveRecursively(false); is_Sikll = false; }else { Skill_panel.SetActiveRecursively(true); } if(NeedSkillsCD>0) { NeedSkillsCD-=Time.deltaTime; h_09.fillAmount = NeedSkillsCD/SkillsCD; }else if(NeedSkillsCD<=0) { NeedSkillsCD = 0; h_09.fillAmount = 0; } }