protected EntityFilter() { _allow1 = !ComponentPool <Inc1> .Instance.IsIgnoreInFilter; Components1 = _allow1 ? new Inc1[MinSize] : null; IncludeMask.SetBit(ComponentPool <Inc1> .Instance.TypeIndex, true); AddComponentPool(ComponentPool <Inc1> .Instance); }
protected EcsFilter() { _allow1 = !EcsComponentPool <Inc1> .Instance.IsIgnoreInFilter; Components1 = _allow1 ? new Inc1[MinSize] : null; IncludeMask.SetBit(EcsComponentPool <Inc1> .Instance.GetComponentTypeIndex(), true); AddComponentPool(EcsComponentPool <Inc1> .Instance); }
protected EcsFilterSingle() { IncludeMask.SetBit(EcsComponentPool <Inc1> .Instance.GetComponentTypeIndex(), true); }