public static IReadOnlyCollection <Tags> GetAllOfType(TagType type) => ActiveTagContainer.GetAllOfType(type);
public static bool TryGetAllOfType(TagType type, out IReadOnlyCollection <Tags> tags) => ActiveTagContainer.TryGetAllOfType(type, out tags);
private void OnEnable() { ActiveTagContainer.AddTags(this); }
private void OnDisable() { ActiveTagContainer.RemoveTags(this); }
public void AddType(TagType type) { tags.Add(type); ActiveTagContainer.AddTags(this); }