예제 #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));
 }