コード例 #1
0
        public static HeadsetPluginManager GetPluginManager(SettingsPluginDataCollection settings)
        {
            HeadsetPluginManager manager = new HeadsetPluginManager();

            manager.LoadSettings(settings);
            return(manager);
        }
コード例 #2
0
 protected virtual void LoadSettings(SettingsPluginDataCollection settings)
 {
     SetPlugins(settings.data.Select(settings_data => settings_data.GetPluginData()).ToArray());
 }
コード例 #3
0
 public static ContactPluginManager GetPluginManager(SettingsPluginDataCollection settings)
 {
     ContactPluginManager manager = new ContactPluginManager();
     manager.LoadSettings(settings);
     return manager;
 }
コード例 #4
0
 protected virtual void LoadSettings(SettingsPluginDataCollection settings)
 {
     SetPlugins(settings.data.Select(settings_data => settings_data.GetPluginData()).ToArray());
 }