forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			333 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			333 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class DetectMobileBrowserNode(LnxLogicTreeNode):
 | |
| 	"""Determines the mobile browser or not (works only for web browsers)."""
 | |
| 	bl_idname = 'LNDetectMobileBrowserNode'
 | |
| 	bl_label = 'Detect Mobile Browser'
 | |
| 	lnx_version = 1
 | |
| 
 | |
| 	def lnx_init(self, context):
 | |
| 		self.add_output('LnxBoolSocket', 'Mobile')
 |