Exemplo n.º 1
0
 public static IReadOnlyCollection <Tags> GetAllOfType(TagType type) => ActiveTagContainer.GetAllOfType(type);
Exemplo n.º 2
0
 public static bool TryGetAllOfType(TagType type, out IReadOnlyCollection <Tags> tags) => ActiveTagContainer.TryGetAllOfType(type, out tags);
Exemplo n.º 3
0
 private void OnEnable()
 {
     ActiveTagContainer.AddTags(this);
 }
Exemplo n.º 4
0
 private void OnDisable()
 {
     ActiveTagContainer.RemoveTags(this);
 }
Exemplo n.º 5
0
    public void AddType(TagType type)
    {
        tags.Add(type);

        ActiveTagContainer.AddTags(this);
    }