/// <summary> /// Get all of the atoms that have a controller /// </summary> /// <param name="sc"></param> /// <returns></returns> public static IEnumerable <Atom> GetSelectableAtoms(this SuperController sc) { return(sc.GetAtoms().Where((a) => a.mainController != null)); }
/// <summary> /// Get all plugin storables /// </summary> /// <param name="sc"></param> /// <returns></returns> public static IEnumerable <JSONStorable> GetAllPlugins(this SuperController sc) { return(sc.GetAtoms().SelectMany((a) => a.GetPluginStorables())); }