(self, dir)
Detects the .uplugin descriptor file for the Unreal plugin in the specified directory
Detects the .uplugin descriptor file for the Unreal plugin in the specified directory
Detects the . uplugin descriptor file for the Unreal plugin in the specified directory
def getPluginDescriptor(self, dir):
		"""
		Detects the .uplugin descriptor file for the Unreal plugin in the specified directory
		"""
		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')
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' )