/// <summary> /// Get a copy of this list with effects hitTime set to 'now'. /// </summary> /// <returns>HitEffectList</returns> public HitEffectList CopyWithHitTime() { var newlist = new HitEffectList(); base.ForEach ( delegate(HitEffect effect) { effect.hitTime = Time.time; newlist.Add(effect); } ); return(newlist); }
public HitEffectList(HitEffectList hitEffectList) : base(hitEffectList) { }