public static HeadsetPluginManager GetPluginManager(SettingsPluginDataCollection settings) { HeadsetPluginManager manager = new HeadsetPluginManager(); manager.LoadSettings(settings); return(manager); }
protected virtual void LoadSettings(SettingsPluginDataCollection settings) { SetPlugins(settings.data.Select(settings_data => settings_data.GetPluginData()).ToArray()); }
public static ContactPluginManager GetPluginManager(SettingsPluginDataCollection settings) { ContactPluginManager manager = new ContactPluginManager(); manager.LoadSettings(settings); return manager; }