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

        if (bd != null)
        {
            bd.CloseBuff();
        }
    }