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