예제 #1
0
		public void UnloadPlugin(Plugin plugin)
		{
			if (plugin != null)
			{
				currentResult = NativeMethods.FMOD_System_UnloadPlugin(handle, plugin.Type, plugin.Id);
			}
			else throw new ArgumentNullException("plugin");
		}
예제 #2
0
		public void LoadPlugin(Plugin plugin)
		{
			if (plugin != null)
			{
				PluginType type = plugin.Type;
				int id = plugin.Id;
				currentResult = NativeMethods.FMOD_System_LoadPlugin(handle, plugin.FileName, ref type, ref id);
			}
			else throw new ArgumentNullException("plugin");
		}