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