/// <summary> /// Specifies components that entities must contain none of. /// </summary> /// <param name="types">Types of components that entities must contain none of.</param> /// <returns>FamilyBuilder</returns> public static FamilyBuilder Exclude(params Type[] types) { FamilyBuilder familyBuilder = new FamilyBuilder(); return(familyBuilder.Exclude(types)); }
/// <summary> /// Specifies components that entities must contain all of. /// </summary> /// <param name="types">Types of components that entities must contain all of.</param> /// <returns>FamilyBuilder</returns> public static FamilyBuilder All(params Type[] types) { FamilyBuilder familyBuilder = new FamilyBuilder(); return(familyBuilder.All(types)); }