This commit is contained in:
2020-08-05 22:03:17 +08:00
parent a6bf0189fa
commit af3ffa589c
11 changed files with 780 additions and 780 deletions

View File

@@ -39,9 +39,9 @@ function _cell.init(csObj)
transform = csSelf.transform
---@type UISprite
uiobjs.spriteBg = csSelf:GetComponent("UISprite")
if uiobjs.spriteBg == nil then
uiobjs.spriteBg = getCC(transform, "Background", "UISprite")
end
-- if uiobjs.spriteBg == nil then
-- uiobjs.spriteBg = getCC(transform, "Background", "UISprite")
-- end
uiobjs.boxCollider = csSelf:GetComponent("BoxCollider")
---@type UIInput