/// <summary> /// 移除buff /// </summary> /// <param name="buffData"></param> public void RemoveBuff(ActorBuff buffData) { if (_BuffList.Contains(buffData)) { buffData.CloseBuff(); } }
/// <summary> /// 移除buff /// </summary> /// <param name="buffDataID"></param> public void RemoveBuff(int buffDataID) { ActorBuff bd = GetBuff(buffDataID); if (bd != null) { bd.CloseBuff(); } }