code: def getPluginDescriptor(self, dir):
  		
  		for plugin in glob.glob(os.path.join(dir, '*.uplugin')):
  			return os.path.realpath(plugin)
  		
  		# No plugin detected
  		raise UnrealManagerException('could not detect an Unreal plugin in the current directory')
docs: Detects the .uplugin descriptor file for the Unreal plugin in the specified directory