public static List <GraphCreator> FindGraphCreators() { if (_graphCreators == null) { _graphCreators = EditorReflectionUtility.GetListOfType <GraphCreator>(); _graphCreators.Sort((x, y) => { return(CompareUtility.Compare(x.menuName, x.order, y.menuName, y.order)); }); } return(_graphCreators); }
public static List <HierarchyDrawer> FindHierarchyDrawer() { if (_drawers == null) { _drawers = EditorReflectionUtility.GetListOfType <HierarchyDrawer>(); _drawers.Sort((x, y) => { return(CompareUtility.Compare(x.order, y.order)); }); } return(_drawers); }