mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
This commit is contained in:
		
							parent
							
								
									6758a7f8c0
								
							
						
					
					
						commit
						2c77f07aaa
					
				
					 13 changed files with 52 additions and 12 deletions
				
			
		|  | @ -2928,6 +2928,7 @@ void GDScriptCompiler::convert_to_initializer_type(Variant &p_variant, const GDS | |||
| void GDScriptCompiler::make_scripts(GDScript *p_script, const GDScriptParser::ClassNode *p_class, bool p_keep_state) { | ||||
| 	p_script->fully_qualified_name = p_class->fqcn; | ||||
| 	p_script->name = p_class->identifier ? p_class->identifier->name : ""; | ||||
| 	p_script->simplified_icon_path = p_class->simplified_icon_path; | ||||
| 
 | ||||
| 	HashMap<StringName, Ref<GDScript>> old_subclasses; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yuri Sizov
						Yuri Sizov