Beispiel #1
0
        public Spell AddDescription(Description d1, Description d2 = null, Description d3 = null, Description d4 = null, Description d5 = null, Description d6 = null, Description d7 = null, Description d8 = null, Description d9 = null)
        {
            List <Description> ds = new List <Description>()
            {
                d1, d2, d3, d4, d5, d6, d7, d8, d9
            };

            ds.RemoveAll(d => d == null);
            Descriptions.AddRange(ds);
            return(this);
        }
Beispiel #2
0
 public PhysicsColliderShape([NotNull] IEnumerable <IAssetColliderShapeDesc> descriptions)
 {
     Descriptions.AddRange(descriptions);
 }