Пример #1
0
        /// <summary>
        /// 發生特效結束時
        /// </summary>
        /// <param name="endType">結束方式</param>
        protected virtual void OnEnd(EffectEndType endType)
        {
            DoBeforeEnd(endType);
            Status = DisablingTime.Limit == 0 ? EffectStatus.Disabled : EffectStatus.Disabling;

            if (End != null)
            {
                End(this, endType);
            }
        }
Пример #2
0
 /// <summary>
 /// 特效結束前執行
 /// </summary>
 public virtual void DoBeforeEnd(EffectEndType endType)
 {
 }