dezhou_client/lua_probject/base_project/Game/View/WaitView.lua

26 lines
576 B
Lua

WaitView = {}
local M = WaitView
local Unit = {}
function WaitView.new()
setmetatable(M, { __index = BaseView })
local self = setmetatable({}, { __index = M })
self.class = "WaitView"
self._full = true
return self
end
function M:init()
local view = self._view
self.textTitle = view.transform:Find("image/textTitle")
self.textTitle = self.textTitle:GetComponent(typeof(UnityEngine.UI.Text))
self.textInfo = view.transform:Find("image/textInfo")
self.textInfo = self.textInfo:GetComponent(typeof(UnityEngine.UI.Text))
end
return M