mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
	
		
			250 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
	
		
			250 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
|   | 
 | ||
|  | extends Panel | ||
|  | 
 | ||
|  | # member variables here, example: | ||
|  | # var a=2 | ||
|  | # var b="textvar" | ||
|  | 
 | ||
|  | func _ready(): | ||
|  | 	# Initalization here | ||
|  | 	pass | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | func _on_goto_scene_pressed(): | ||
|  | 	get_node("/root/global").goto_scene("res://scene_a.scn") | ||
|  | 	pass # replace with function body |