mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 07:31:16 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			199 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			199 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
| 
								 | 
							
								@static_unload
							 | 
						||
| 
								 | 
							
								class_name StaticVariablesOther
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								static var perm := 0
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								static var prop := "Hello!":
							 | 
						||
| 
								 | 
							
									get: return prop + " suffix"
							 | 
						||
| 
								 | 
							
									set(value): prop = "prefix " + str(value)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func test():
							 | 
						||
| 
								 | 
							
									print("ok")
							 |