Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public HitEffectList(HitEffectList hitEffectList) : base(hitEffectList)
 {
 }