代码遗留上传

PC-202302260912\Administrator 2025-08-13 12:41:00 +08:00
parent 12b7bebd5b
commit e6fb571ca2
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ function this:InitComponent(gameObject)
this.jiesuoBtnText = Util.GetGameObject(this.jiesuoBtn, "Text"):GetComponent("Text")
this.select = Util.GetGameObject(this.gameObject, "topBar/select")
this.weekTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/weekTrail")
this.weekTrailBtn.gameObject:SetActive(false)
this.finalTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/finalTrail")
this.weekTrailBtnRed = Util.GetGameObject(this.weekTrailBtn, "redPoint")
this.finalTrailBtnRed = Util.GetGameObject(this.finalTrailBtn, "redPoint")
@ -39,7 +40,7 @@ function this:InitComponent(gameObject)
this.ScrollView.gameObject:GetComponent("RectTransform").pivot = Vector2.New(0.5, 0.5)
this.ScrollView.moveTween.MomentumAmount = 1
this.ScrollView.moveTween.Strength = 2
curType = 1
curType = 2
end
function this:BindEvent()