Exemplo n.º 1
0
 public static bool HasTags(this Collision collision, bool only, params string[] tags)
 {
     return(MultiTagsManager.HasTags(collision.gameObject, only, tags));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns a specific gameobjects through multiple tags
 /// </summary>
 /// <param name = "only">This bool specifies whether the Gameobject should have only those tags</param>
 /// <param name = "tags">The tags that must have the object</param>
 public static GameObject[] FindGameObjectsWithTags(bool only, params Tags[] tags)
 {
     return(MultiTagsManager.FindGameObjectsWithMultiTags(only, tags));
 }