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

        ActiveTagContainer.AddTags(this);
    }