public void IncludeReadonly <T>() where T : IComponent { int pos = TypeHelper.Component <T> .componentIndex; includeMask.Set(pos); includeWriteMask.Unset(pos); excludeMask.Unset(pos); #if DEBUG AddToDebugList(ref includeTypes, typeof(T)); #endif }
public void ExcludeShared <T>() where T : ISharedComponent { int pos = TypeHelper.SharedComponent <T> .componentIndex; sharedExcludeMask.Set(pos); sharedIncludeMask.Unset(pos); #if DEBUG AddToDebugList(ref sharedExcludeTypes, typeof(T)); #endif }