示例#1
0
 public static bool SharesTag <T>(this GameObject obj, GameObject other, T tag)
     where T : struct, IFormattable, IConvertible, IComparable
 {
     return(MultiTags <T> .SharesTag(obj, other, tag));
 }
示例#2
0
 public static bool SharesTag <T>(this Component cmp, Component other, T tag)
     where T : struct, IFormattable, IConvertible, IComparable
 {
     return(MultiTags <T> .SharesTag(cmp, other, tag));
 }