Пример #1
0
 public static UnityEngine.Object[] GetFiltered(Type type, SelectionMode mode)
 {
     return(Selection.GetFilteredInternal(type, mode).Cast <UnityEngine.Object>().ToArray <UnityEngine.Object>());
 }
Пример #2
0
 public static T[] GetFiltered <T>(SelectionMode mode)
 {
     return(Selection.GetFilteredInternal(typeof(T), mode).Cast <T>().ToArray <T>());
 }