mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 07:31:16 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			183 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			183 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
| 
								 | 
							
								#GDTEST_OK
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func test(): C.new().test("Ok"); test2()
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func test2(): print("Ok 2")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class A: pass
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class B extends RefCounted: pass
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class C extends RefCounted: func test(x): print(x)
							 |