Exemplo n.º 1
0
        public AttractsWorms(AttractsWormsInfo info)
        {
            Info = info;

            if (info.Range == null)
                info.Range = Exts.MakeArray(info.Falloff.Length, i => i * info.Spread);
        }
Exemplo n.º 2
0
        public AttractsWorms(AttractsWormsInfo info)
        {
            Info = info;

            if (info.Range == null)
            {
                info.Range = Exts.MakeArray(info.Falloff.Length, i => i * info.Spread);
            }
        }