14 lines
		
	
	
		
			424 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			424 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| local GameplayStatics = import("GameplayStatics")
 | |
| local WidgetUtils = require("Utils.UI.WidgetUtils")
 | |
| local HomeLandMainUI = {}
 | |
| 
 | |
| function HomeLandMainUI:OnInitialized()
 | |
|     self.Gateway.OnClicked:Add(function()
 | |
|         GameplayStatics.OpenLevel(self, "FalconPlain", false, "")
 | |
|     end)
 | |
|     self.Hearth.OnClicked:Add(function()
 | |
|         WidgetUtils.Show(self, "HearthMain")
 | |
|     end)
 | |
| end
 | |
| 
 | |
| return Class(nil, nil, HomeLandMainUI) |