public override void Casting(SkillName name, float time, CastOver callBack) { base.Casting(name, time, callBack); if (!isSimpleUI) { CastingBar.gameObject.SetActive(true); CastingBar.Casting(name, time, true); } }
public void ShowCastBar(SkillName name, float totalTime) { CancelCastBar(); CastBar.gameObject.SetActive(true); CastBar.Casting(name, totalTime); }