Exemple #1
0
 public static void Array <T>(ref T[] array)
 => Internal.CollectionDrawers.Array(ref array, (item, i) => Drawers.Draw(item));
Exemple #2
0
 public static bool Array <T>(GUIContent label, ref T[] array, T defaultValue, bool foldout)
 => Internal.CollectionDrawers.Array(label, ref array, defaultValue, foldout,
                                     (item, i) => Drawers.Draw(item));
Exemple #3
0
 public static void List <T>(List <T> list)
 => Internal.CollectionDrawers.List(list, (item, i) => Drawers.Draw(item));
Exemple #4
0
 public static bool List <T>(GUIContent label, List <T> list, T defaultValue, bool foldout)
 => Internal.CollectionDrawers.List(label, list, defaultValue, foldout,
                                    (item, i) => Drawers.Draw(item));
Exemple #5
0
 public static void Dictionary <TKey, TValue>(Dictionary <TKey, TValue> dictionary)
 => Internal.CollectionDrawers.Dictionary(dictionary,
                                          Drawers.Draw,
                                          (_, value) => Drawers.Draw(value)
                                          );
Exemple #6
0
 public static bool Dictionary <TKey, TValue>(GUIContent label, Dictionary <TKey, TValue> dictionary,
                                              TKey defaultKey, TValue defaultValue, bool foldout)
 => Internal.CollectionDrawers.Dictionary(label, dictionary, defaultKey, defaultValue, foldout,
                                          Drawers.Draw,
                                          (_, value) => Drawers.Draw(value)
                                          );