示例#1
0
        /// <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);
        }
示例#2
0
 public HitEffectList(HitEffectList hitEffectList) : base(hitEffectList)
 {
 }